Question: ------------ any language but if you do in sql i appreciate User registration page usually needs to validate the user's email and password, Suppose the

 ------------ any language but if you do in sql i appreciate

------------

any language but if you do in sql i appreciate

User registration page usually needs to validate the user's email and password, Suppose the ng Model for the email and password is email_input, and password_input the ng Model variables also include firstname, lastname Write a function to implement the email and password validation with the following requirements: For email: The email must from a university (.edu) or.gov or.org For password: At least 10 characters (and up to 30 characters) 5 or more unique characters At least 3 of the following: uppercase, lowercase, numeric, or special characters. The allowed special characters are -!@#$%^* - _ = +[{]}/;:,.? [no spaces allowed!] Additionally, your password may not include: Your email, part of your name Number sequences of 4 or more numbers Character repeated 4 or more times Whenever your validate function finds an error, return the error type (what rule is violated. Eg. If fewer than 10 characters, then the return message should be password should be at least 10 characters") Your function is: Validate(email, password, firstname, lastname){ }

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!