Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html5 pattern for numbers only

<input type="text" name="country_code" pattern="[0-9]+" title="please enter number only" required="required">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pattern #numbers
ADD COMMENT
Topic
Name
8+1 =