PROVIDE JS SOURCE CODE Design a web page with a text box (username) where the user can enter a name and another text box (ID) where the user enter an only four digit ID.NO and a button "validate". Validate the entered username and ID field for the following using java script. i. Both the fields should not be empty ii. Name field should have only 5 alphabets ii. ID field should be numbers of length 8.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter15: Using Javafx And Scene Builder
Section: Chapter Questions
Problem 4PE
icon
Related questions
Question
PROVIDE JS SOURCE CODE
Design a web page with a text box (username) where the user can enter a name and another text box (ID)
where the user enter an only four digit ID.NO and a button "validate". Validate the entered username and ID
field for the following using java script. i. Both the fields should not be empty ii. Name field should have only 5
alphabets iii. ID field should be numbers of length 8.
Transcribed Image Text:PROVIDE JS SOURCE CODE Design a web page with a text box (username) where the user can enter a name and another text box (ID) where the user enter an only four digit ID.NO and a button "validate". Validate the entered username and ID field for the following using java script. i. Both the fields should not be empty ii. Name field should have only 5 alphabets iii. ID field should be numbers of length 8.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Creating web page
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT