Question: Code Input box to enter a phone number or a code Submit button Radio buttons to indicate what to enter US Phone number (xxx) xxx-xxxx

Code

Input box to enter a phone number or a code

Submit button

Radio buttons to indicate what to enter

US Phone number (xxx) xxx-xxxx

FR Phone number xx.xx.xx.xx

US SS number xxx-xx-xxxx

Verify it is correct on Submit

Extra credit:

Use keyboard events to format the input as the number is typed

Allow user to hit to submit

I need help restricting numbers only, I don't want the user to be able to put in letters or other symbols and the max length of digits depending on the choice they pick

here is my code:

Forms to get information

Enter your information?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!