I'm working with laravel and I want to know if there are a way to restrict a date in a html date field, when I use a field type Date, I can display a Calendar in the view, and I want to restric a date in that calendar.
For example: -I want to restric the dates that are less than today. -I want to compare that the second field that is not less than the first.
In the Calendar desable those dates. Are there a way to do that?
I don´t want to use datepicker, just html date field and some script to make that possible, and use it in a global way, in all my date fields.