WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Date problem with Firefox & IE (10 posts)

  1. gadi_z
    Member
    Posted 4 months ago #

    The date field is empty on FireFox & IE .
    With Chrome is ok .

    This is my website :

    http://www.rothschild-mansion.co.il/

    How can i solve this ?

    https://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 4 months ago #

  3. gadi_z
    Member
    Posted 4 months ago #

    I dont know .

  4. gadi_z
    Member
    Posted 4 months ago #

    U Think it doesnt support ?

  5. buzztone
    Member
    Posted 4 months ago #

    Contact Form 7 has some Datepicker support via the new HTML5 date input type (see http://contactform7.com/date-field/) but this is currently only supported on some browsers - see http://www.wufoo.com/html5/types/4-date.html

    Contact Form 7does 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' );

  6. gadi_z
    Member
    Posted 4 months ago #

    Work !
    Thanks mate :)

  7. emitremmus
    Member
    Posted 4 months ago #

    Hello,

    how can i enable this Filter only on a specifc Template in WordPress? I need the extra JS/CSS only on one Site.

  8. buzztone
    Member
    Posted 4 months ago #

    RE: how can i enable this Filter only on a specifc Template in WordPress?

    See Loading JavaScript and Stylesheet Only When it is Necessary​​

  9. roxperez
    Member
    Posted 4 months ago #

    Thanks, it works!

    There´s any way to change the date format from "YYYY-mm-dd" to "dd-mm-YYYY"?

    Thanks in advance!

  10. buzztone
    Member
    Posted 4 months ago #

Reply

You must log in to post.

About this Plugin

About this Topic