• If any one of three fields (name, email or enquiry) is blank/null. If a field is blank/null, the pop-up should state “Please enter your [field name].” and focus on the field.
• If the email and email-verify fields do not match, the alert should state “The email addresses you entered do not match. Please verify that your email address is correct.”
• If the entry for the email field is in an invalid email format, the pop-up alert should state “Your Email Address does not appear to be valid - please make any necessary corrections.” It should test for:
o Any illegal characters
o One and only one “@” sign
o “@” and “.” should not be the first or last character
o At least one character between “@” and “.”
o Any other illegal email format
The alerts should work with all browsers.
The attached file will give you a better idea of the contact form code.
I’m looking for a quick turnaround on this easy project.
Please let me know if you have any questions.