Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I kept having the issue in Safari with the datepicker just showing a blank field and when you clicked on it nothing happened and I when I tried to enter a date and submit the form it just kept coming up with an error message saying ‘The date format is incorrect’. After a couple of hours of searching for a fix and trying things out to see if they work, I found a combination of 2 fixes from different people who posted in this forum worked for me:

    Add this script into your function.php

    add_filter( 'wpcf7_support_html5_fallback', '__return_true' );

    Then you also need this in your custom CSS:

    div#ui-datepicker-div {z-index:1000!important;}

    The date field still looks blank, but then when you click in the field, the datepicker pops up showing the calendar!

    I hope it works for someone else like it did for me!

    • This reply was modified 5 years, 2 months ago by core365.
    Thread Starter core365

    (@core365)

    Ok, thanks for letting me know!

Viewing 2 replies - 1 through 2 (of 2 total)