Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Solution on datepicker on mobile devices
- This topic has 16 replies, 7 voices, and was last updated 3 years, 4 months ago by J. Davis.
- AuthorPosts
- July 16, 2021 at 12:51 am #1157184Andre FloresModerator
Hello Madalena,
It is expected to be included in the next Hotel Booking plugin update release. You may try the following suggestion from one of our users as a temporary solution:
This plugin file needs to be edited:
/public_html/wp-content/plugins/motopress-hotel-booking/templates/shortcodes/search/search-form.php
line 34
i just added inputmode=”none” below the type=”text”
id=”< ?php echo esc_attr( 'mphb_check_in_date-' . $uniqid ); ?>”
data-datepick-group=”< ?php echo esc_attr( $uniqid ); ?>”
value=”< ?php echo esc_attr( $checkInDate ); ?>”
placeholder=”< ?php _e( 'Check-in Date', 'motopress-hotel-booking' ); ?>”
required=”required”
type=”text”
inputmode=”none”
name=”mphb_check_in_date”
class=”mphb-datepick”
autocomplete=”off”and line 54 the same for the checkout date i just added the same line here too
id=”< ?php echo esc_attr( 'mphb_check_out_date-' . $uniqid ); ?>”
data-datepick-group=”< ?php echo esc_attr( $uniqid ); ?>”
value=”< ?php echo esc_attr( $checkOutDate ); ?>”
placeholder=”< ?php esc_attr_e( 'Check-out Date', 'motopress-hotel-booking' ); ?>”
required=”required”
type=”text”
inputmode=”none”
name=”mphb_check_out_date”
class=”mphb-datepick”
autocomplete=”off”Regards,
AndreJuly 22, 2021 at 9:09 pm #1160203J. DavisKeymasterHi,
We are delighted to let you know that we have just released the Hotel Booking plugin v. 3.9.9 update, where we have adjusted the form for mobile devices and now there is no keyboard appearing.
Feel free to update the plugin to get the form updated.
best regards,
J. Davis - AuthorPosts
- You must be logged in to reply to this topic.