Created
January 15, 2014 13:12
-
-
Save vindia/8435939 to your computer and use it in GitHub Desktop.
Trigger numpad on iPhone for password fields (e.g. when you want a user to enter a numeric passcode)
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
<fieldset> | |
<legend>Password with pattern <code>\d*</code></legend> | |
<label>Password: <input type="password" pattern="\d*"></label> | |
</fieldset> | |
<fieldset> | |
<legend>Password with pattern <code>[0-9]*</code></legend> | |
<label>Password: <input type="password" pattern="[0-9]*"></label> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment