Disable some dates in date picker?

Any tips and tricks that has to with the ADDT that doesn't fit into one of the other categories
piripacchio
Posts: 37
Joined: 2010-04-28 08:34

Disable some dates in date picker?

Post by piripacchio » 2017-09-11 08:32

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

User avatar
Fred
Site Admin
Posts: 491
Joined: 2010-02-15 12:10
Location: Armagh, Northern Ireland
Contact:

Re: Disable some dates in date picker?

Post by Fred » 2017-09-23 17:59

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.

Post Reply