Form Validation: Javascript

I have a small form that needs Javascript validation.
The form elements to be Validated are:
-First Name and Last Name
-Email address
-Confirm email address (a mail sure it’s the same as the first email)
-Ensure either a Mobile number or Phone Number is entered
-If Mobile number is entered, it must start with “04” and be 10 digits in length
-Ensure Terms & Conditions checkbox is ticked

If all or any of these are incorrect, I each incorrect element named in a DIV tag that I have already…

Leave a Reply

Your email address will not be published. Required fields are marked *