Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a javascript code to validate the form against the following conditions using Regular expression. Name: Input must begin with a letter and length should
Write a javascript code to validate the form against the following conditions using Regular expression. Name: Input must begin with a letter and length should not exceed 8 characters. Password: Input must be mixture of letters and digits and length should be minimum 5 characters and maximum 12 characters. E-mail id: Input must be a valid email id. Contact: Input must be a ten digit number. None of the fields should be left as blank. If all the conditions are satisfied then display the details in a pleasant format, otherwise display the error message
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started