Disable specific date / datepicker

Disable specific dates in a CF form datepicker.

Overview

The default CF datepicker lacks a built-in function to disable specific dates.
Replace the datepicker element with a standard text element and configure it using the jQuery UI datepicker as detailed in the linked FAQ.

Answered
ChronoForms v5
ra rawcat 22 May, 2017
Hi,

I know this has been talked about before but I am stuck. As far as I know, there is no prebuilt function to disable specific dates in the default datepicker. I read that this feature would be available using the jQuery-UI-Datepicker.

Is there a tutorial or example how the change the datepicker? Or any other ideas to make this possible? I was also thinking about writing a function into the default datepicker, but since my JS skill are really limited I'd like to go the smother route.

Thanks in advance!
Gr GreyHead 22 May, 2017
Answer
1 Likes
Hi rawcat,

To use the jQuery UI datepicker use an ordinary text element instead of a datepicker element in your form and follow the directions in this FAQ

Bob
This topic is locked and no more replies can be posted.