Title: Date picker on iPhone
Last modified: August 21, 2016

---

# Date picker on iPhone

 *  [xmarksthespot](https://wordpress.org/support/users/xmarksthespot/)
 * (@xmarksthespot)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/)
 * I’m a newbie with WordPress.
 * I’m setting up my mobile website with a contact form that uses datepicker.
 * When I access the form on my iPhone and tap in the date field it brings up the
   keyboard (as it does for all the fields). The calendar is barely visible as a
   result and I’d have to hope that the user would hit DONE to turn off the keyboard
   and then drag the screen to see the calendar.
 * Is there any way around this? Perhaps a calendar icon beside the date field that
   enables the calendar to pop up without the keyboard?
 * All thoughts/suggestions/experience welcome!
 * [http://wordpress.org/plugins/contact-form-7-datepicker/](http://wordpress.org/plugins/contact-form-7-datepicker/)

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

 *  [markthedoc](https://wordpress.org/support/users/markthedoc/)
 * (@markthedoc)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166485)
 * I’m having the same problem.
 * Would like to know a way to fix this.
 *  [danielbellini](https://wordpress.org/support/users/danielbellini/)
 * (@danielbellini)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166498)
 * Same probelm!
 * Can anyone help please?
 *  Thread Starter [xmarksthespot](https://wordpress.org/support/users/xmarksthespot/)
 * (@xmarksthespot)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166510)
 * 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.
 *  [karineka](https://wordpress.org/support/users/karineka/)
 * (@karineka)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166522)
 * 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](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166527)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-datepicker.svg)
 * [Contact Form 7 Datepicker](https://wordpress.org/plugins/contact-form-7-datepicker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-datepicker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-datepicker/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-datepicker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-datepicker/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/date-picker-on-iphone/#post-4166527)
 * Status: not resolved