Hello for all Sf dev,

i'm using the function unsetAllFieldsExcept  to get a form in 2 steps
like this exemple
http://www.iw2.fr/2009/08/28/symfony-formulaire-en-plusieurs-etapes/

my problem is : i would like to unset a fields for an embed form

i call the unsetAllFieldsExcept function here to unset all fields
except name and email

 $this->unsetAllExcept(array( 'name','email') );

now i would use this function with a fields of ana embed form
i'm traying this

 $this->unsetAllExcept(array( 'name','email' , 'form2[books]' ) );

but this does not work
any dev has an idea please ?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to