Q 1. Create HTML form with following fields. Name Password Retype Password Age Section Part II: Implement
Fantastic news! We've Found the answer you've been seeking!
Question:
Q 1. Create HTML form with following fields.
- Name
- Password
- Retype Password
- Age
- Section
Part II: Implement following restrictions to the code. (Using JavaScript)
- Name must not be less than 4 characters and greater than 30 characters and only alphabets
- Password must not be less than 6 characters and greater than 12 characters
- Retype password must be same as password
- Age must be greater than 18 and less than 25
- Section can have only two value “BSIT18-A” and “BSIT18-B”
- If user has filled in all the fields correctly and no filed is left empty submit form and display the data entered in another page. Otherwise ask user to fill in data according to given constraints.
Related Book For
Posted Date: