Now days registration forms have phone numbers as mandatory field.
Based on the result, it updates the status in a span tag. This website communicates about my work, learning and experience.
I believe life is short, and it is for loving, sharing, learning and connecting.
Enter the following into the Name and Value fields: Under "Name" enter "pattern" without the "". You can play around with the maxlength value, but I found 14 is the best.
The form will not submit unless the user enters a US telephone number format as specified by the pattern string you entered above.
You can have a valid number which is not a real number.