Sure,
Can you read the document: https://contactform7.com/date-field/
Thanks
Thread Starter
ynorsa
(@ynorsa)
Thanks. It worked, but then I got an issue. The default date selected was one of the dates marked in the “special” parameter, and hence was supposed to not be available. And yet the form was able to be successfully validated, with the invalid date.
Here is my configuration:
[date_restrict date-678 min:current_date|+|1|d max:current_date|+|90|d special:2025-06-24 sync_min_number:0 "today+1day"]
Today being 2025-06-23, the default date is 2025-06-24. As this is a restricted date, again, I would expect the date to be 2025-06-25 instead, or to have at least a validation failure.
hello,
We use JavaScript validation, so we cannot verify the data if the customer is prevented from entering values into the date input field.
[date_restrict date-678 min:current_date|+|1|d max:current_date|+|90|d special:2025-06-24 sync_min_number:0 readonly “today+1day”]
Thanks