Created
May 3, 2016 12:06
-
-
Save bulbul84/c51501ad60bd3089718e607422a29b10 to your computer and use it in GitHub Desktop.
How to use pattern for validated phone number or validated input fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" pattern="[0-9]{9,12}" value="" placeholder="Type your phone number" required/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment