[youtube
https://www.youtube.com/watch?v=YeRu9MSTXss]
DEMO:
https://demo.add-ons.org/demo-restrict-date-fields/
Document:
https://add-ons.org/document-contact-form-7-restrict-dates-2/
Pro version:
https://add-ons.org/plugin/contact-form-7-restrict-dates-fields/
The Restrict Dates feature allows you to control the dates users can select when filling out a form using Contact Form 7.
This tool is ideal for limiting date selections in the Date Picker field based on specific conditions, ensuring the dates chosen align with your requirements.
It enhances user experience and prevents errors in data entry
```
check in
[date_restrict checkin min:current_date|+|0|d weekdays:1|2|3|4|5|6|0 sync_max:checkout sync_min_number:2 sync_max_number:5]
check out
[date_restrict checkout min:current_date|+|0|d weekdays:1|2|3|4|5|6|0 sync_min:checkin sync_min_number:2 sync_max_number:5]
```