How can I limit dates in a contact field to specific days/dates?


I need to limit dates for a contact form. For context I help run a martial arts class, notably the website. I am trying to set up a Covid-19 reporting page where students/parents can let the coaching team know if they have tested positive for Covid-19.

My problem is that the classes only run on Fridays, but the default contact form allows users to select any date in the ‘Date’ field, even days the class was not open.

Ideally I would like students to be only able to select from the past 4 Fridays. To use today as a base example, they would only be able to select the 4th, 11th, 18th or 25th of June. At the very least, they should only be able to select Past Fridays.

Is there a way of doing this with the default contact form, or are there any plugins that can do this?

Justin Becker 5 months 2021-06-26T09:57:01-05:00 0 Answers 0 views 0

Leave an answer