Restricts Date for Contact Form 7

Descrição

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]

Features

  • Min days: Allow admin to set minimum restrict date range
  • Max days: Allow admin to set maximum restrict date range
  • Weeks: Allow admin to set weekend/weekdays for the selected date range
  • Exceptions: Allow admin to add exception dates for the selected date range
  • 2 dependent dates: With min and max date

Exclude Specific Dates

Block users from selecting specific dates, such as public holidays, company off-days, or other unavailable dates. This is especially useful for booking forms or appointment scheduling.

Limit Date Range

Set a date range to restrict users to only select dates within a specific timeframe. For instance, you can limit users to choose dates from January 1, 2025, to December 31, 2025.

Exclude Days of the Week

Combine multiple rules for more complex restrictions, such as excluding certain days of the week, blocking specific dates, and limiting the date range—all customizable through a shortcode for each form.

Improved User Experience

By implementing date restrictions in your WPForms, you enhance the user experience. Users will only see and be able to select valid and relevant dates, reducing confusion and potential errors.

PRO VERSION

  • 2 dependent datepickers with min and max date

Imagens de tela

  • Backend settings
  • Frontend view
  • Demo

Instalação

Normal installation

  1. Download the restrict-field-for-wpforms.zip file to your computer.
  2. Unzip the file.
  3. Upload the restrict-field-for-wpforms directory to your /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress.

Avaliações

5 de Março, 2025
В целом, плагин хороший, со своей задачей справляется, но как всегда есть нюансы:1. Не хватает блокировки поля на заполнение “вручную” т.е. я отключил бронирование на 8 марта, но если просто текстом то я могу указать эту дату, добавьте параметр readonly.2. И очень желательно добавить иконку календаря, по которой будет вызываться календарь. А то я выбрал дату, потом хочу ее поменять и совсем не очевидно как это сделать. Успехов и спасибо разработчикам!
Leia todas as 0 avaliações

Contribuidores e desenvolvedores

“Restricts Date for Contact Form 7” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Contribuidores

Registro de alterações

1.1.4

  • Version 1.0 Initial Release