Hello,

Probably there is another way, I am very new to symfony and it's hard
for now.

In a signup page have a sfForm (SignupForm) which embeds several other
forms (MemberForm, ProductForm)... etc.
But the MemberForm behaves a little different depending on some GET
parameter for the signup page.

So I can have the signup for mytype=1 or mytype=2, and mtype would be
the get parameter.

I want to build SignupForm  and configure depending on this parameter
(mtype). And further, in SignupForm, i want to transmit the parameter
to the MemberForm also, which is a doctrine form. And when I reload
the page (we have form errors) probably I should also move the mtype
from get to an input hidden of the form.

If I transmit mtype in the construct of the SignupForm it is probably
not a very good ideea. But the constructor also calls the
configuration... so I don't know how do to id....

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to