I am trying to use the 'Confirm Email' function, but I can't get it to work! What am I doing wrong?
Create your first textfield with these settings:
TYPE: Textfield
LABEL: Email
NAME: email
The remaining fields (Value, Size, Max. length and hint) are optional. In the Validation section at the bottom, put a checkmark in the REQUIRED checkbox. Then, in the Validation type, choose the LIBRARY button. In the dropdown list that appears, select
FF::ff_validemail_repeat.
Now create your second textfield with these settings:
TYPE: Textfield
LABEL: Repeat Email
NAME: email_repeat
The remaining fields (Value, Size, Max. length and hint) are optional.
Leave the Validation section at the bottom UNCHECKED. There is no need to add a validation rule or type to this Email field because it will automatically be connected to the rule in the previous field.
IMPORTANT NOTES:
If you change the name of the first textfield from "email" to something else (let's say, "contact" for example), then in the second textfield, you will need to change the name field to contact_repeat. The word in front of "_repeat" MUST match the name given to the first field.
A further common mistake here is that the script is assigned to the wrong field! Please make sure that:
"ff_validemail_repeat" is assigned to the element "email" and _NOT_ to the "email_repeat" element.