Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    (@howdy_mcgee)

    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.