Datepicker fields – how do I disable specific dates?
-
Hey,
I need to disable specific dates for the Ninja Forms datepicker. I understand that Ninja Forms uses the jQuery UI datepicker function, and it is possible to disable dates using the JS code:
$("#datepicker").datepicker({ minDate: 0 });This should disable all dates from being selectable before todays date. Howver, this does not work.
Anyone know how to control the Ninja Forms datepicker API via JS code without butchering the core plugin files?
Thanks in advance
The topic ‘Datepicker fields – how do I disable specific dates?’ is closed to new replies.