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.
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.
Chapter15: Using Javafx And Scene Builder
Section: Chapter Questions
Problem 4PE
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.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6afc3e51-4167-431f-af6e-e8691d83050d%2Fb4d353b2-6566-4583-8aac-0d45be3b7c9b%2Fxjszgng_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT