Hello, i've got a custom form of this type :
$fields = new FieldSet(
new TextField('Email'),
new PasswordField("Password"),
new LabelField("Forgot your password ?'.")
);
// Création des actions
$actions = new FieldSet(
new FormAction('doLogin', 'Login'),
new FormAction('generateNewPass', 'Forgot my password')
);
$validator = new RequiredFields('Email', 'password');
return new Form($this, 'loginForm', $fields, $actions, $validator);
I wan't to put a confirmation message on the "Forgot my password" button.
Does anyone know how to do this ?
thanks.