These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Validate Email textfield with another

phornung2
Registered: Mar 2 2010
Posts: 23
Answered

I've created a textfield that asks the user to enter his/her email address. Then, I have a second textfield that asks the user to verify the email address entered in the first textfield. Would someone happen to have a script, or an idea on how I can verify that what the user enters in the second textfield (verify email address) matches what was entered in the first? Any suggestions would be greatly appreciated. Thank you.

My Product Information:
LiveCycle Designer, Windows
Marnus
Registered: Jun 13 2010
Posts: 1
//Email1::exit - (JavaScript, client) - in you script editor in Livecycle

if (Email1.rawValue != Email2.rawValue)
{
app.alert("The email address does not correspond with the first email address");
};
phornung2
Registered: Mar 2 2010
Posts: 23
Thank you!! Works great...