hi, i know there have been a couple of posts on this, and that it is
possible to embed the User Profile form in the sfGuardAdminForm .. but
.. should it work by default anyway?

I created a sfGuardProfile class, and then made some fields required.
The user could then edit their own profiles; then as an admin, if I
edit a users sfGuardUser record in the backend it wouldnt let me
submit the form, as it was invalid - it didnt have the required fields
from the profile class.

I looked into this and it was because the sfGuardAdminUserForm merges
the profile form:

$this->mergeForm($profileForm);

but doesnt render the form fields .. should it do this?

im using symfony 1.2

cheers

dan
-- 
Dan Leech

Dynamic Web Sites
www.dantleech.com

Bath Gigs
www.bathgigs.co.uk

--

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