Question: Take the HTML Form from Assignment 1. In this task, you need to put client-side checks to the inputs using Javascript as follows: 1. Name

Take the HTML Form from Assignment 1. In this task, you need to put client-side checks to the inputs using Javascript as follows: 1. Name is a required field and the value should not be more than 20 characters or less than 5 characters 2. Phone Number: Required and need to be exactly 10 digits 3. Email Address: Required and needs to be a proper email address with @ and . 4. Date of Birth needs to be in this format: YYYY-MM-DD 5. Gender is a required field 6. You can remove all other fields Some other functionalities: Use Bootstrap CSS tags to create the form Use placeholder to direct the user what would the input look like (i.e., DOB: 1999-11-20 ) If a user hits submit button but the inputs are not valid, show an alertbox or error msg in a div or paragraph to explain which input/s are wrong

********* HTML FORM *********

Survey Form

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!