Question: PLEASE HELP TO VALIDATE MY HTML FORM IN EXTERNAL JAVASCRIPT. I HAVE GIVEN YOU THE FORM CODES HERE. HOW LONG WILL IT TAKE TO GET

PLEASE HELP TO VALIDATE MY HTML FORM IN EXTERNAL JAVASCRIPT. I HAVE GIVEN YOU THE FORM CODES HERE. HOW LONG WILL IT TAKE TO GET THE ANSWER?

THANK YOU

1. First Name and Last fields should not have less than four (4) characters as input.

2. Names (First and Last) should only consist of text input (no special characters,

symbols or numeric input allowed). An error message should pop up if input is in

incorrect format.

3. Email should be entered in proper format. e.g it should include @ and .com

4. Phone number should be entered in the format (xxx)-(xxx)-(xxxx) and by default

the format appears (greyed out) in the text box.

5. Password should be at least 8 characters in length and :

i) Must have atleast one upper and one lower case character

ii) Must have atleast one digit

iii) Must have one special character such as @, $ etc

iv) These instructions to be displayed on the left of the box, so user knows

what type of password to be created.

6. Password and confirm password MUST match with each other.

7. If any of the fields is left BLANK (not filled) by the user, an warning message

should show up, asking the user to fill in the required field.

If the user enters any wrong type of input, an alert should be displayed showing

what correct input is required.

All field must have an (*) next to them showing that they are mandatory to be

filled.

Try to display a brief note in front of the files about what type of input is

required. For example , next to password field , you can display message

minimum 8 characters in length with upper and lower case, digit and a special

character

Sign Up

First Name

Last Name

Date of Birth Date Month Year

Gender Male Female

Country Country

Email Address Phone

Password

(Password must hold 1 special character, upper & lowercase letters)

Confirm Password I agrre to the Terms of use

Submit Query Cancel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!