Hi folks,

it's really no fun for a newbie to configure the symfony forms. I'm
using 1.3Alpha2 and activated the plugin sfDoctrineUserGuard. The
description of this plugin is so old that nearly nothing of the
described steps worked.
So 3 days later I'm trying to set up a sign up form. Therefore I use
the sfGuardUserForm and  an embedded ProfileForm:

class signForm extends PluginsfGuardUserForm
{
  public function configure()
  {
    $form = new sfGuardUserProfileForm();
    $this->embedForm('profile', $form);
    $this->useFields(array(
        'username',
        'profile.email',
    ));
  }
}

As you can imagine, I try only to display a username and  an email
field. The username is part of the plugin, the email is part of the
embedded form.

My question: my version doesn't work. How can I display fields of
embedded forms?

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