Datepicker fallback code not working
-
The datepicker fallback code is not working on my site at https://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=”https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css”>
<script src=”https://code.jquery.com/jquery-1.12.4.js”></script>
<script src=”https://code.jquery.com/ui/1.12.1/jquery-ui.js”></script>
<script>
$( function() {
$( “.datepicker” ).datepicker();
} );
</script>
****************
- The topic ‘Datepicker fallback code not working’ is closed to new replies.