Symfony2: How can I disable form cascade validation?

I have a form with one field of the form of the object. When I call $form->isValid() , symfony validates the object associated with this field. I know that the problem is fixed ( cascade_validation) for the master symfony branch, but I am using synfony 2.0.9. How can i solve this?

+3
source share
2 answers

I solved the problem using validation groups.

+2
source

A cascade_validation added to the main branch for explicit control over this, but there is nothing in branch 2.0.

+5
source

All Articles