Disable Specific Dates / Days with datepicker field
-
Hi,
Is there an extension available or filters / hooks available for achieving the following?
We need to disable certain days / dates in the datepicker. E.G. only allow Mondays.
We can see in the source code this is echoed:
jQuery.fn.datepicker.dates['en'] = { months: ["January","February","March","April","May","June","July","August","September","October","November","December"], monthsShort: ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"], days: ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], daysShort: ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"], daysMin: ["S","M","T","W","T","F","S"], dateFormat: "dd\/mm\/yyyy", firstDay: "1", format: "dd\/mm\/yyyy", isRTL: 0, showButtonPanel: true, numberOfMonths: 1, today: 'Today' };
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Disable Specific Dates / Days with datepicker field’ is closed to new replies.