Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Expiry date pattern in HTML

<form>
  <input type="text" pattern="([0-9]{2}[/]?){2}" />
  <input type="submit">
  title="Enter a date in this format MM/YY"
</form>
 Run code snippetHide results
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Expiry #date #pattern #HTML
ADD COMMENT
Topic
Name
1+1 =