Disable specific days from datepicker
-
I really like CF7, but I was recently asked by my client to remove the ability to select Sundays from the calendar. I have the functions to do that, but would really like some way to do this without having to hack the code every time there is an upgrade. With >250 websites, it is difficult to maintain various hacks.
In any case, I have the HTML5 restriction working by adding a function call to my theme’s header.php (I have been able to port that to a new plugin so it remains on updates). However, I have not been able to get the datepicker plugin code to work outside of the hacked CF7.
Is there any plan to add this functionality in to CF7? Or does anyone have any advice on splitting the beforeShowDate() function to a separate plugin? I believe the issue with that is it requires a duplicate call to datepicker() which messes things up.
Thanks.
- The topic ‘Disable specific days from datepicker’ is closed to new replies.