Page 1 of 1

Disable some dates in date picker?

Posted: 2017-09-11 08:32
by piripacchio
Hello all,
I'm still using ADDT with great satisfaction but I have a little problem related to dates and date picker. I need to disable some days in the date picker pop-up so that the user can't select holidays and some other special days.
It's not required to do this via mysql.
Is there a way to do this in ADDT, even modifying some files by hand?
TIA
tony

Re: Disable some dates in date picker?

Posted: 2017-09-23 17:59
by Fred
Tony,
Don't think there is a way to do it. Doing so would imply that you have a list of dates somewhere that can programatically blocked on the datepicker.
I have stopped using datepicker a long time ago and am using the jquery plugin.

You should be able to manipulate the dates in the jquery plugin. Sure I have seen an example on stackoverflow at some point.