Hey all,

I'm trying to create a multi-page signup form.  The first page is a
form that creates the user (sfGuardUser) and also creates a profile
for them (table name: Profile).

After that is submitted, it redirects to a second form, for the user
to fill out more profile details.  However, I don't know how to load
the appropriate Profile object on this page.  After I create it in the
first form submission, how should I pass it to the second form, so the
second form simply updates the profile?

One thought I just had was to create the user, then after form
submission, sign them in automatically then send them to the second
form where I can then just use $this->getUser->getGuardUser()-
>getProfile() to get the corresponding profile object.  Not sure if
that's the best way or not.

What do you all think?

Thanks!

Justin
--~--~---------~--~----~------------~-------~--~----~
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