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 *********
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