Hi, here is my situation. I have created a login Form with the following fields and actions:
if(!$fields) {
$fields = new FieldSet(
new HiddenField("AuthenticationMethod", null, $this->authenticator_class, $this),
new LabelField("Usage Interne", "UsageInterne"),
new TextField("Email", "Représentant",
Session::get('SessionForms.MemberLoginForm.Email'), null, $this),
new CheckboxField("Remember", "mémorsier mon nom",
Session::get('SessionForms.MemberLoginForm.Remember'), $this),
new EncryptField("Password", "Mot de passe", null, $this)
);
}
if(!$actions) {
$actions = new FieldSet(
new FormAction("forgotPassword", "Vous avez oublié votre
mot de passe?"),
new FormAction("register", "S'INSCRIRE"),
new FormAction("dologin", "")
);
}
when i'm on the password field, and I press the "Enter" button, it brings me to the forgotPassword. How can I make it go the the "dologin" action when I press the "Enter" button.
Thanks
Steve