Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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.

Step by Step Solution

3.53 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

indexp... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Operating Systems

Authors: Andrew S. Tanenbaum, Herbert Bos

4th edition

013359162X, 978-0133591620

More Books

Students also viewed these Programming questions

Question

1. Define alpha and beta.

Answered: 1 week ago