Title: Advanced Datepicker &#8211; Restricts Date for Contact Form 7
Author: add-ons.org
Published: <strong>14. januar, 2025</strong>
Last modified: 21. august, 2026

---

Søg plugins

![](https://ps.w.org/restrict-date-for-contact-form-7/assets/banner-772x250.png?
rev=3221942)

![](https://ps.w.org/restrict-date-for-contact-form-7/assets/icon-256x256.png?rev
=3221942)

# Advanced Datepicker – Restricts Date for Contact Form 7

 Af [add-ons.org](https://profiles.wordpress.org/addonsorg/)

[Download](https://downloads.wordpress.org/plugin/restrict-date-for-contact-form-7.2.0.4.zip)

 * [Detaljer](https://da.wordpress.org/plugins/restrict-date-for-contact-form-7/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/restrict-date-for-contact-form-7/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/restrict-date-for-contact-form-7/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/restrict-date-for-contact-form-7/#developers)

 [Support](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/)

## Beskrivelse

**DEMO**: [https://demo.add-ons.org/demo-restrict-date-fields/](https://demo.add-ons.org/demo-restrict-date-fields/)
**
Document**: [https://add-ons.org/document-contact-form-7-restrict-dates-2/](https://add-ons.org/document-contact-form-7-restrict-dates-2/)**
Pro version**: [https://add-ons.org/plugin/contact-form-7-restrict-dates-fields/](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.
 2025-11-20|2025-11-21 or 2025-11-20to2026-11-21

### 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

## Skærmbilleder

[⌊Backend settings⌉⌊Backend settings⌉[

Backend settings

[⌊Frontend view⌉⌊Frontend view⌉[

Frontend view

[⌊Demo⌉⌊Demo⌉[

Demo

## Installation

**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.

## Anmeldelser

![](https://secure.gravatar.com/avatar/b637695efae13c4f2736f67eac13e9ce6504644be89629128b391f294d9ed2cb?
s=60&d=retro&r=g)

### 󠀁[Excellent date features](https://wordpress.org/support/topic/excellent-date-features/)󠁿

 [darrenjames](https://profiles.wordpress.org/darrenjames/) 12. november, 2025

I was looking for some sort of date picker where I had to disable certain days of
the week in a date field for CF7. This fits the bill perfectly. I'm still testing
it to see if it will actually fit my requirements, but so far its looking great.

![](https://secure.gravatar.com/avatar/c3435543f1ad9dd1e3d256c0ad60e5edd1b93c6410e4abbf940f6941276b4f1c?
s=60&d=retro&r=g)

### 󠀁[Great plugin for CF7](https://wordpress.org/support/topic/great-plugin-for-cf7-2/)󠁿

 [DesignStack](https://profiles.wordpress.org/designstack/) 6. november, 2025

Great plugin and support, they helped us with our issue very quickly too. Thanks!

![](https://secure.gravatar.com/avatar/7db90c14ea15e48cd31ef9ffeee004e495791618c8fea3d1e69c283006e1300a?
s=60&d=retro&r=g)

### 󠀁[Хороший плагин](https://wordpress.org/support/topic/%d1%85%d0%be%d1%80%d0%be%d1%88%d0%b8%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-284/)󠁿

 [rozavcom](https://profiles.wordpress.org/rozavcom/) 5. marts, 2025

В целом, плагин хороший, со своей задачей справляется, но как всегда есть нюансы:
1. Не хватает блокировки поля на заполнение "вручную" т.е. я отключил бронирование
на 8 марта, но если просто текстом то я могу указать эту дату, добавьте параметр
readonly.2. И очень желательно добавить иконку календаря, по которой будет вызываться
календарь. А то я выбрал дату, потом хочу ее поменять и совсем не очевидно как это
сделать. Успехов и спасибо разработчикам!

 [ Læs alle 3 anmeldelser ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/)

## Bidragsydere & udviklere

“Advanced Datepicker – Restricts Date for Contact Form 7” er open source-software.
Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ add-ons.org ](https://profiles.wordpress.org/addonsorg/)

[Oversæt “Advanced Datepicker – Restricts Date for Contact Form 7” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/restrict-date-for-contact-form-7)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/restrict-date-for-contact-form-7/),
tjek [SVN repository](https://plugins.svn.wordpress.org/restrict-date-for-contact-form-7/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/restrict-date-for-contact-form-7/)
via [RSS](https://plugins.trac.wordpress.org/log/restrict-date-for-contact-form-7/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 2.0.4

 * Added: Compatible with Elementor popup

#### 2.0.3

 * Added: special rand start to end date

#### 1.1.4

 * Version 1.0 Initial Release

## Meta

 *  Version **2.0.4**
 *  Senest opdateret **2 måneder siden**
 *  Aktive installationer **500+**
 *  WordPress-version ** 2.0 eller højere **
 *  Testet op til **7.1.3**
 *  PHP-version ** 5.2 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/restrict-date-for-contact-form-7/)
 * Tags
 * [cf7](https://da.wordpress.org/plugins/tags/cf7/)[Restrict filed](https://da.wordpress.org/plugins/tags/restrict-filed/)
   [restricts](https://da.wordpress.org/plugins/tags/restricts/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/restrict-date-for-contact-form-7/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  3 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/)

## Bidragsydere

 *   [ add-ons.org ](https://profiles.wordpress.org/addonsorg/)

## Support

Problemerne er løst inden for de sidste to måneder:

     1 ud af 1

 [Vis supportforum](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/)