Title: Datepicker fallback code not working
Last modified: November 18, 2016

---

# Datepicker fallback code not working

 *  [stejus](https://wordpress.org/support/users/stejus/)
 * (@stejus)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/datepicker-fallback-code-not-working-2/)
 * The datepicker fallback code is not working on my site at [http://www.iisc.ac.in/news-and-events-submission/](http://www.iisc.ac.in/news-and-events-submission/).
 * I’ve added the code add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’);
   to my functions.php file but am still not getting the datepicker in Firefox.
 * However, it works if I add a datepicker class to my date field and use the below
   code manually. I’ve also changed the field type to text temporarily.
    ****************
   <link rel=”stylesheet” href=”[http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css”&gt](http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css”&gt);
   <script src=”[https://code.jquery.com/jquery-1.12.4.js”></script&gt](https://code.jquery.com/jquery-1.12.4.js”></script&gt);
   <script src=”[https://code.jquery.com/ui/1.12.1/jquery-ui.js”></script&gt](https://code.jquery.com/ui/1.12.1/jquery-ui.js”></script&gt);
   <script> $( function() { $( “.datepicker” ).datepicker(); } ); </script> ****************
    -  This topic was modified 9 years, 6 months ago by [stejus](https://wordpress.org/support/users/stejus/).
    -  This topic was modified 9 years, 6 months ago by [stejus](https://wordpress.org/support/users/stejus/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/datepicker-fallback-code-not-working-2/#post-8453784)
 * See [http://contactform7.com/date-field/](http://contactform7.com/date-field/)

Viewing 1 replies (of 1 total)

The topic ‘Datepicker fallback code not working’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/datepicker-fallback-code-not-working-2/#post-8453784)
 * Status: not resolved