How to validate input?
Posted on 2006-04-19
Dear experts, I have a web page, cusotmer will input their first, last name, e-mail address and phone number. It looks like this:
To add a new contact, please fill in all fields and click "Save".
Please fill out the fields below.
Phone number must be in the form (555)555-5555.
\\How can I use Perl to validate customer name, e-mail address and phone number after customer click save? and return a message like this:
New Contact Added!
First Name: Alan
Last Name: Smith
Email Address: firstname.lastname@example.org
Phone Number: 555-555-5555
\\ Please show me the code and how to link to my web page. Thank you.