| Validate/save an embedded form based on a value in the parent form [message #103108]
||Mon, 26 July 2010 22:40
Registered: July 2008
Location: Leeds, West Yorkshire, UK
I have a symfony 1.4 form with 2 embedded forms.
The problem is, when I submit the form, the validation and save is being run on both of the embedded forms, which I obviously don't want.
What is the best way to alter the parent form so that it only validates and saves the relevant embedded form based on the selection made in the parent form?