I have a form with one entity form field. When I call $form->isValid(), symfony validates the object associated to this field. I know that problem is fixed (cascade_validation) for symfony master branch, but I use synfony 2.0.9. How can I resolve this?
A cascade_validation option has been added to the master branch for explicit control over this, but there is nothing in the 2.0 branch.
I resolved the problem using validation groups.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With