[symfony-users] Re: Symfony 1.1 embedForm

2008-06-04 Thread Dmitry Nesteruk
The correct binding is: $this-form-bind(array( 'journal[batch_id]' = $request-getParameter('journal[batch_id]'), 'journal[journaltype_id]' = $request-getParameter('journal[journaltype_id]'), 'journal[journalsubtype_id]' = $request- getParameter('journal[journalsubtype_id]'),

[symfony-users] Re: Symfony 1.1 embedForm

2008-06-04 Thread IsRobot
Thanks Dmitry but version 2) as you specified still fails the validation I'm afraid. Any suggestions for testing the validation to see where it is going wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: Symfony 1.1 embedForm

2008-04-11 Thread Fabien POTENCIER
Dmitry Nesteruk wrote: I have to form. The registration form and the address form. I am trying to embed this forms. $this-form = new sfsRegistrationForm(); $this-form-embedForm('address', new sfsAddressForm()); Both forms have own validation. I added bind $this-form-bind(