Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 / 2 5 / 2 2 , 8 : 1 2 AM CENG 4 2 0 Final Exam Question 1 5 Not yet answered

1/25/22,8:12 AM
CENG420 Final Exam
Question 15
Not yet answered
Marked out of 6.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 lowercase alphabets
The password is at least 6 characters with 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.
function
lelse if(name.matc getElementByld uname ).
} else if (password.matchi
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

Aware of differences in the role of employees unions.

Answered: 1 week ago