Question: 1 1 1 5 ? 2 2 , 3 : 5 7 PM Midterm Exam Question 4 Not yet answered Marked out of 8 .

1115?22,3:57 PM
Midterm Exam
Question 4
Not yet answered
Marked out of 8.00
Complete the code such that it validates the inputs on form submit as follows:
The name can not be empty and must contain only alphabets
The password is at least 8 characters with capital, lowercase and number
If the above restrictions are satisfied, the user will be redirected to the next page, otherwise, the function returns false and an error alert message will be displayed.
ralidate_inputs 0
("Name can't be blank");
jelse if(name.match )=(,{8})==(**?[a-z]
("Name must contain only alphabets");
} else if (password.mat
= null
 1115?22,3:57 PM Midterm Exam Question 4 Not yet answered Marked out

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!