Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1252689

    If you use the autofill function on a mobile phone to fill out the enfold contact form, the city is entered in the date section see
    How can this be blocked?


    Hey Fischpi,
    Sorry for the late reply and thanks for the link and screenshot.
    Please try this script, it changes the input “type” from “text” to “date”, in my tests with Chrome this stopped the autofill from showing.
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_datepicker_script(){
      $(".avia_datepicker.hasDatepicker").attr("type", "date");
    add_action('wp_footer', 'custom_datepicker_script');

    Then clear your browser cache and check.

    Best regards,

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

You must be logged in to reply to this topic.