0

Restrictions for select current date on datepicker?

I have form with date picker and i want to disable selecting current and old dates. How i Will get this done?

13th Nov 2019, 2:43 PM
ANBARASAN R
ANBARASAN R - avatar
1 Antwort
+ 2
You can set the min property of the input tag. You'll need to use some javascript to determine tomorrow's date dynamically. https://stackoverflow.com/questions/17182544/disable-certain-dates-from-html5-datepicker
13th Nov 2019, 10:04 PM
Tibor Santa
Tibor Santa - avatar