Skip Navigation

[Resolved] How can i disable past dates on the date filter?

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to disable past dates on their datepicker.

Solution:

Unfortunately this is not possible with just toolset. What you can do is to check out this link below as it should be able to help you get this working.
https://codepen.io/ben108/pen/PqvaBR

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 5 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#922444

I need to disable the ability to select dates in the past in the date filter for views. I want them to only be able to filter by today or future dates.

#922608

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Leonard,

Thank you for contacting our support forum.

Unfortunately this is not possible with just toolset. What you can do is to check out this link below as it should be able to help you get this working.
hidden link

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.