這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Contact Form 7 Datepicker

外掛說明

Enables adding a date field for Contact Form 7 WordPress Plugin using jQuery UI’s
datepicker.

螢幕擷圖

  • The datepicker in action
  • Change themes
  • Date field generator

常見問題集

Installation Instructions

Please follow the standard installation procedure for WordPress plugins.

Where do I submit a bug?

You can open an issue on github or just contact me via email.

使用者評論

Excellent plugin

Great plugin. Someone's spent a lot of time on this plugin and it shows. I found the Contact form 7 standard date picker looked a bit rubbish and didn't function as I needed it to. Many thanks!
閱讀全部 69 則使用者評論

參與者及開發者

Contact Form 7 Datepicker 外掛為開源軟體。以下人員為這個外掛做出了重大貢獻。

參與者

將 Contact Form 7 Datepicker 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.6.0

  • Compatibility with CF7 4.6, replace deprecated calls (imelgrat)
  • Add bosnian translation for timepicker (sanidm)

2.5.2

  • Fix validation error (props to xsonic)

2.5.1

  • Fix i18n

2.5

  • Compatible with CF7 4.3
  • Add ability to set custom theme

2.4.5

  • Apply cf7dp_is_valid_date filter for date validation (Kudos to Viktor Szepe)

2.4.4

  • Compatible with CF7 3.7.2

2.4.3

  • Compatible with CF7 3.6

2.4.2

  • Fix min/max hour/minute/second
  • Update timepicker addon
  • Update jqueryui version number

2.4.1

  • Fixed inline date/time pickers

2.4

  • Fixed minDate and maxDate attributes for date and datetime fields
  • Added noWeekend to date and datetime fields
  • Added stepHour, stepMinutes and stepSeconds attributes to time and datetime fields
  • Make use of CF7’s new Shortcode Tag API

2.3.2

  • Fix year-range issues

2.3.1

  • Fix date field generator not showing up anymore
  • Validate dd/mm/yy dates correctly

2.3

  • Made it work with CF7 3.4
  • Use full jquery-ui version on asset paths
  • Add Date Range feature (thanks @dollardad)

2.2.1

  • Added fix for watermark on field update

2.2

  • Added basic date validation
  • Fixed watermark

2.1

  • Added inline option
  • Fixed tag generator
  • Fixed date format when localized

2.0

  • Complete rewrite, using jquery-ui’s datepicker

0.7.4

  • Bugfix:
    • datepicker shortcode works now if contact form 7 is not installed

0.7.3

  • Bugfix:
    • fixed Janaury typo

0.7.2

  • Bugfix:
    • fixed field value not showing up in email message when field values contain hyphens and other non-alphanumeric chars

0.7.1

  • Bugfix:
    • fixed calendar not popping out when no id attribute specified in CF7 shortcode

0.7

  • New:
    • Added new [datepicker] tag to use outside of CF7
    • Added CF7 specific attributes for the shortcodes
    • Now you can have input fields prefilled with a desired date either from the configuration menu, or by specifying it in the shortcode as an attribute

0.6

  • Bugfixes:

    • the entry in admin menu is now being translated
    • fixed an IE issue where clicking on move forward/backward (years and months) buttons would close the calendar (thanks to bik for reporting)
  • New:

    • added Italian l11n (Kudos go to Andrea Cavaliero)
    • added the possibility to load scrips/styles on what page you like (thanks to Rodolfo Buaiz for suggesting this)
      to achieve this put this into your wp-config.php
      define(‘CF7_DATE_PICKER_ENQUEUES’, false);

then in your theme’s functions.php file you have two options:

if (is_page('Form page')) {
    if (function_exists('CF7DatePicker'))
       add_action('wp_enqueue_scripts', array('CF7DatePicker', 'plugin_enqueues'));
}

or

function cf7dp_enqueues() {
    if (is_page('Form page')) {
        if (function_exists('CF7DatePicker'))
            CF7DatePicker::plugin_enqueues();
    }
}
add_action('init', 'cf7dp_enqueues');

0.5

  • Bugfixes:
    • the name of the js var that holds the jsDatePick object is now escaped so no illegal char gets printed (regards Petrus)
    • removed any posibility of the calendar being displayed more than once at a time on a page when in Mode 2
    • controls option now works
  • New:
    • animate the calendar on display option
    • added Dutch translations (regards Petrus)

0.4

  • Added new configuration options:
    • limit selectable dates according to current date (before or or after)
    • available years range option
    • the posibility to show/hide the month and year controls (forward/backward)
  • Added new scheme (red)
  • Added the posibility to use custom stylesheet files with color schemes (located in css/schemes/.css)

0.3.1

  • Fixed translations

0.3

  • Added tag generator

0.2.1

  • Fixed input field not being populated on date selection

0.2

  • Fixed some romanian translation typos
  • Only one calendar can be shown on a page at a time (datepicker closes onblur)
  • Changed default activate configuration values
    (Props @Andrea Cavaliero)

0.1

First release