• Resolved thaynejo

    (@thaynejo)


    After several complaints, I find that I need to disable HTML5 support for the plugin. Clients have complained that the date field in Chrome is not very intuitive considering a small arrow must be clicked in order to make the calendar appear. Clicking on the text field does not do that. As such, I have tried inserting

    add_filter( 'wpcf7_support_html5', '__return_false' );

    but while HTML5 is disabled (the date field is now a text field), jQuery is not enabled for the text field, so it no longer works.

    Is there any way I can disable HTML5 and have jQuery automatically enabled?

    add_filter( 'wpcf7_support_html5_fallback', '__return_true' );

    is already in the code and works for all browsers but Chrome.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter thaynejo

    (@thaynejo)

    I was able to sort this out. There was a hidden character in the javascript that was causing the datepicker to error out in chrome. This is resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Using jQuery instead of HTML5’ is closed to new replies.