Well, I simply want to have cascaded
saving. But because the nested form is not bound, then it becomes not
valid as well. So then if I call $form->embeddedForms['bar']->save(), it throws an error (with no error message) because the form is not valid. Does this make sense? Fabien Potencier wrote: Only the main form is bound. All the bound data are in the main form. The embeddedForm forms are there mainly for internal stuff like cascade saving. What is your need? Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Ian wrote: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [symfony-devs] Binding data from a POST to embedded Forms... Ian
- [symfony-devs] Re: Binding data from a POST to embed... Ian
- [symfony-devs] Re: Binding data from a POST to embed... Fabien Potencier
- [symfony-devs] Re: Binding data from a POST to e... Slick Rick
- [symfony-devs] Re: Binding data from a POST ... Fabien Potencier
- [symfony-devs] Re: Binding data from a P... Slick Rick
