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]'),
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
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(