Answer by André Carvalho for How to set the min/max attribute on input type=date
The HTML datepicker component now works in most browsers and the minimum and maximum control attributes are fully implemented. The correct format is yyyy-mm-dd, as described at MDN.<input...
View ArticleAnswer by Hessam for How to set the min/max attribute on input type=date
min and max attributes for date input type have very little browser support. You can use jQuery validation as a workaround.<input id="dateInput" required="required" min="1900-01-01" max="2099-09-13"...
View ArticleAnswer by Leonardo Delfino for How to set the min/max attribute on input...
Some browsers like Safari and Internet Explorer do not support this functionality; this may be your problem. Write validation via JavaScript.The list of browsers that support this feature can be seen...
View ArticleHow to set the min/max attribute on input type=date
I'm having some problems to set a minimum and a maximum YEAR with HTML5 date input.Here is my code:<input required="required" min="1900-01-01" max="2099-09-13" type="date" class="form-control"...
View Article