Title: Custom Datepicker NMR
Author: mirceatm
Published: <strong>2020 年 2 月 21 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜索插件

![](https://ps.w.org/custom-datepicker-nmr/assets/icon-256x256.png?rev=2465141)

# Custom Datepicker NMR

 作者：[mirceatm](https://profiles.wordpress.org/mirceatm/)

[下载](https://downloads.wordpress.org/plugin/custom-datepicker-nmr.1.0.9.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-datepicker-nmr/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-datepicker-nmr/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/custom-datepicker-nmr/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/custom-datepicker-nmr/#developers)

 [支持](https://wordpress.org/support/plugin/custom-datepicker-nmr/)

## 描述

Contact Form 7 offers users standard HTML5 controls to input data, like text input
and [input type=”date”](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date).

The browser will [not format the date text in a date format you might choose](https://stackoverflow.com/questions/7372038/is-there-any-way-to-change-input-type-date-format)
This plugin allows Contact Form 7 to use [jQuery UI Datepicker](https://jqueryui.com/datepicker/)
where date format can be set or changed. This plugin requires jquery, jquery ui 
and contact form 7. Use `format`, `min` or `max` to configure it.

    ```
    [datepicker* myFirstDatepicker id:myFirstDatepicker format:dd.mm.yy min:2022-06-06 max:2022-08-08]
    ```

#### Want more?

**[Custom Datepicker Plus NMR](https://namir.ro/downloads/custom-datepicker-plus-nmr/)**
adds:

 * Exclude specific dates, date ranges, or entire weekdays — `nmrexclude`, `nmrexcludeweekdays`
 * Pull blocked dates dynamically from a Custom Post Type — `nmrexcludecpt`
 * Relative min/max — `min:+1 max:+30`, `min:today`
 * Multi-date selection with optional cap — `multiselect maxselect:3`
 * Linked start/end date range fields — `nmrrangepair`
 * Timepicker tag — `[timepickerplus]` with min/max/step
 * Auto-select first available date — `firstopen`
 * Conditional show/hide of other CF7 fields — `nmrshowfield` / `nmrhidefield`
 * Custom validation error messages per field
 * Global settings page (date format, year range, first day of week)

#### Docs & Support

Check the [support forum](https://wordpress.org/support/plugin/custom-datepicker-nmr/)
on WordPress.org. If you can’t locate any topics that pertain to your particular
issue, post a new topic for it.

#### Custom Datepicker NMR Needs Your Support

It is hard to continue development and support for this free plugin without contributions
from users like you. If you enjoy using Custom Datepicker NMR and find it useful,
please consider [**making a donation**](https://paypal.me/mirceatm). Your donation
will help encourage and support the plugin’s continued development and better user
support.

#### Privacy Notices

With the default configuration, this plugin, in itself, does not:

 * track users by stealth;
 * write any user personal data to the database;
 * send any data to external servers;
 * use cookies.

## 屏幕截图

 * [[
 * screenshot-1.jpg

## 安装

 1. Upload the entire folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Basic usage:
 [datepicker myFirstDatepicker id:myFirstDatepicker format:dd.mm.yy]
or [datepicker* myFirstDatepicker id:myFirstDatepicker format:dd.mm.yy] – for required
field.

## 评价

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

### 󠀁[Works great – thanks for sharing!](https://wordpress.org/support/topic/works-great-thanks-for-sharing/)󠁿

 [knecker](https://profiles.wordpress.org/knecker/) 2024 年 1 月 15 日

Works great – thanks for sharing!

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

### 󠀁[Just what I was looking for](https://wordpress.org/support/topic/just-what-i-was-looking-for-494/)󠁿

 [Patrick](https://profiles.wordpress.org/pglad/) 2021 年 9 月 21 日

This did the job I wanted but the installation info could be a little clearer. All
it says is: Basic usage: [datepicker myFirstDatepicker id:myFirstDatepicker format:
dd.mm.yy] I figured out that this had to be placed within the form fields; but in
order to get the form to send the date the following also has to be added in the
message body of the mail tab: Date : [myFirstDatepicker] Took me a couple of goes
to work out was was needed. Great plugin, just needs better instructions for use.

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

### 󠀁[almost perfect](https://wordpress.org/support/topic/almost-perfect-423/)󠁿

 [marcoatmac](https://profiles.wordpress.org/marcoatmac/) 2020 年 8 月 10 日

Thanks, so I can see the right date format. I tried to add a min date like this:[
datepicker date-1 min:today+7days id:date-1 format:dd/mm/yy] or [datepicker date-
1 start-date min:today+7days id:date-1 format:dd/mm/yy] but doesn’t work, any idea
please? M

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

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-6888/)󠁿

 [twowithink](https://profiles.wordpress.org/twowithink/) 2020 年 6 月 26 日

Solved a field mapping HTML date format issue with a third party service. Thank 
you!

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-25512/)󠁿

 [9alaa](https://profiles.wordpress.org/9alaa/) 2020 年 4 月 13 日

Thanks , Great job

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/)

## 贡献者及开发者

「Custom Datepicker NMR」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ mirceatm ](https://profiles.wordpress.org/mirceatm/)

「Custom Datepicker NMR」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/custom-datepicker-nmr/contributors)
为本插件所做的贡献。

[帮助将「Custom Datepicker NMR」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/custom-datepicker-nmr)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/custom-datepicker-nmr/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/custom-datepicker-nmr/)，或通过[RSS](https://plugins.trac.wordpress.org/log/custom-datepicker-nmr/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/custom-datepicker-nmr/)。

## 更新日志

#### 1.0.9

 * Added: Settings / upgrade page (Settings  Datepicker NMR) showing Plus features
 * Added: Dismissible admin notice introducing Custom Datepicker Plus NMR
 * Added: “Upgrade to Plus” and “Settings” links on the Plugins page

#### 1.0.8

 * Allow change of month and year

#### 1.0.7

 * Show `The field is required.`

#### 1.0.6

 * Fixed a bug on max date validation

#### 1.0.5

 * Fixed a bug on min / max date validation

#### 1.0.4

 * Add support for jQuery Datepicker `minDate`, `maxDate` settings by using `min`
   and `max` properties of `datepicker`

#### 1.0.3

 * Fixed validation

#### 1.0.2

 * Fixed validation for required datepicker

#### 1.0.1

 * Changed plugin meta-data: wordpress user

#### 1.0.0

 * First version.

## 额外信息

 *  版本 **1.0.9**
 *  最后更新：**2 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-datepicker-nmr/) 和 [Italian](https://it.wordpress.org/plugins/custom-datepicker-nmr/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/custom-datepicker-nmr)
 * 标签
 * [contact form 7](https://cn.wordpress.org/plugins/tags/contact-form-7/)[date format](https://cn.wordpress.org/plugins/tags/date-format/)
   [datepicker](https://cn.wordpress.org/plugins/tags/datepicker/)[forms](https://cn.wordpress.org/plugins/tags/forms/)
   [jquery ui](https://cn.wordpress.org/plugins/tags/jquery-ui/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-datepicker-nmr/advanced/)

## 评级

 4.6 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/custom-datepicker-nmr/reviews/)

## 贡献者

 *   [ mirceatm ](https://profiles.wordpress.org/mirceatm/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/custom-datepicker-nmr/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/mirceatm)