Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same problem.

    Would like to know a way to fix this.

    Same probelm!

    Can anyone help please?

    Thread Starter xmarksthespot

    (@xmarksthespot)

    It’s disappointing to see over 2 months go by and still no response. I am happy to support these developments with contributions but I don’t want to give my backing to a development without timely or visible support. I see – unfortunately – that others are waiting a long time for responses. I will vote with my feet.

    I had the same problem and fixed it by making the input field “readonly”. This way the date can only be selected by using the calendar.

    I used the shortcode : [date check-in readonly].

    ralphonz

    (@ralphonz)

    The plugin needs an update to use the HTML 5 input type=”date” as the normal contact form 7 now uses.

    To change it you need to edit wp-content/plugins/contact-form-7-datepicker/modules/date.php. Change this line(93):

    $atts['type'] = $inline ? 'hidden' : 'text';

    to:

    $atts['type'] = $inline ? 'hidden' : 'date';

    Then the iPhone will display it’s internal date picker and you can hide the jQuery one using this css in the correct place in your theme:

    .ui-datepicker {
    	opacity: 0;
    	pointer-events: none;
    }

    Lets hope we see this in an update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date picker on iPhone’ is closed to new replies.