Title: [BUG] Cross Browser Date Field
Last modified: August 21, 2016

---

# [BUG] Cross Browser Date Field

 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [12 years ago](https://wordpress.org/support/topic/bug-cross-browser-date-field/)
 * Currently WPCF7 uses the HTML5 Date Field which is [not really supported by many browsers](http://caniuse.com/input-datetime).
   I propose a new date field, or at least some kind of backwards compatibility.
   WordPress out of the box comes with a bunch of jquery scripts Including [Jquery UI Datepicker](http://jqueryui.com/datepicker/)
   and since it’s default I don’t see why we can’t have this as a fall back.
 * [See Full List of Default WordPress JS Scripts](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [mtstudios](https://wordpress.org/support/users/mtstudios/)
 * (@mtstudios)
 * [12 years ago](https://wordpress.org/support/topic/bug-cross-browser-date-field/#post-4894458)
 * CF7 has a fallback, but it’s disabled by default. Add a filter:
 * ” Contact Form 7 is able to provide jQuery UI-based fallback for the date and
   number input fields. By using this solution, you can provide calendar UI for 
   the date field and spinbox UI for the number field, respectively, even with Firefox
   or Internet Explorer.
 * By default, this fallback feature is disabled because it loads extra JavaScript
   and CSS (makes for poor performance) and it is only necessary for websites that
   use the date or the number input fields. If you use the date or number input 
   fields and wish to use this jQuery UI-based fallback feature, add the following
   code into your theme’s functions.php file and activate the feature:
 * add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’ );
 *  Thread Starter [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/bug-cross-browser-date-field/#post-4894463)
 * That’s nice to know, but wouldn’t it be more beneficial to add that in as an 
   extra setting on the shortcode tag?
 * `fallback:true`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[BUG] Cross Browser Date Field’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [datepicker](https://wordpress.org/support/topic-tag/datepicker/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [wpcf7](https://wordpress.org/support/topic-tag/wpcf7/)

 * 2 replies
 * 2 participants
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/bug-cross-browser-date-field/#post-4894463)
 * Status: not resolved