Design a webpage that contains a form with the following: A text field “Name” to input your name A text field “Phone Number” that accepts your contact number Using Java script do the following validations: The name entered must not be more than 10 characters Check whether the input in the Phone Number field is a number If both validations are successful then pop up an alert message “Constraints passed”.
Design a webpage that contains a form with the following: A text field “Name” to input your name A text field “Phone Number” that accepts your contact number Using Java script do the following validations: The name entered must not be more than 10 characters Check whether the input in the Phone Number field is a number If both validations are successful then pop up an alert message “Constraints passed”.
Chapter7: Developing An Excel Application
Section: Chapter Questions
Problem 3.6CP
Related questions
Question
Design a webpage that contains a form with the following:
A text field “Name” to input your name
A text field “Phone Number” that accepts your contact number
Using Java script do the following validations:
The name entered must not be more than 10 characters
Check whether the input in the Phone Number field is a number
If both validations are successful then pop up an alert message “Constraints passed”.
Expert Solution
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 3 steps with 3 images
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
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning