Mobile Number Validation Form in JavaScript

In this example we have created a Mobile Number Validation Form that displays
the Mobile Number, Phone No. and email id entered by the user. We have used Java
Script to validate the Mobile Number to 10 digits and Phone Number to 10 Digits.
We have also used Java Script to get the valued entered in the form and
displayed it as the user clicks Submit button. If a programmer enters a wrong
phone number or mobile number or enters email-id in a different format, it shows
an error message and asks the user the correct phone number and email-id.