Linux 软件免费装
Banner图

DayPick: Date Fields for Contact Form 7

开发者 wolinka
更新时间 2026年6月20日 01:11
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

booking contact form 7 datetime date picker time picker

下载

1.0.0 1.0.1

详情介绍:

DayPick adds a [daypick] form-tag to Contact Form 7: a fast, mobile-friendly date and time picker built on the flatpickr library. Everything is free. No pro version, no license keys, no per-domain restrictions, no paid translations. 50+ languages ship with the plugin and are picked automatically from your site language. Why DayPick? Usage Add a tag to your form, either with the DayPick button in the form editor or manually: [daypick* appointment mode:datetime min:today max:+90d hours:09:00-18:00 step:30 disable:weekends firstday:1] Available options: The submitted value is always ISO: Y-m-d, H:i or Y-m-d H:i depending on the mode. Use the regular mail-tag (e.g. [appointment]) in your email template. Credits DayPick bundles the flatpickr library (v4.6.13), released under the MIT license, which is GPL-compatible. The non-minified source code is available in the flatpickr GitHub repository.

安装:

  1. Install and activate Contact Form 7.
  2. Go to Plugins → Add New, search for "DayPick", install and activate.
  3. Edit a form and use the date/time picker (DayPick) button, or add a [daypick your-field] tag manually.

屏幕截图:

  • Date & time picker with a restricted hour range.
  • Tag generator panel in the Contact Form 7 editor.

升级注意事项:

1.0.0 Initial release.

常见问题:

Do I need a license key or a pro version?

No. Everything – all features, all translations – is free.

Which languages are supported?

All 50+ locales bundled with flatpickr (Turkish, German, French, Spanish, Arabic, Japanese and many more). The picker automatically follows your site language. You can override it with the daypick_locale filter.

What value is sent in the email?

By default the ISO value (e.g. 2026-07-15 14:30). If you set a display format on the tag (e.g. format:d.m.Y_H:i), the email uses that same format (e.g. 15.07.2026 14:30), localized to your site language and timezone. Stored/exported data (database, CFDB7) always stays ISO for consistency.

Can visitors bypass the date restrictions?

No. min/max, disabled days, hour range and minute step are validated on the server during submission, not only in the browser.

Does it work on mobile?

Yes. DayPick renders the same picker on mobile devices so that your rules (disabled days, hour ranges) keep working everywhere.

Can I add placeholder text?

Yes. In the tag generator, fill in Default value and tick Use this text as the placeholder of the field, or add it manually: [daypick your-field "Select a date" placeholder]. The placeholder is shown on the visible field; the submitted value stays ISO.

更新日志:

1.0.1 1.0.0