Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html input date validation

<!--User is provided with a date picker allowing him to enter a valid date-->

<label for="start">Start date:</label>
<input type="date" id="start" name="trip-start"
       value="2022-07-22"
       min="2022-01-01" max="2022-12-31">
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #html #input #date #validation
ADD COMMENT
Topic
Name
6+6 =