Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking An invalid form control with name=’mphb_state’ is not focusable
- This topic has 3 replies, 2 voices, and was last updated 2 years, 7 months ago by Andre Flores.
- August 3, 2020 at 2:30 pm #987328Stefan ZijlstraParticipant
On this website we are using Hotel Booking plugin
No when we pick a date and go to the reservation form we get an error when we put in all the data and press the button to make the reservation nothing happens.
So i inspected the problem with Chrom to this message.
An invalid form control with name=’mphb_state’ is not focusable
How do i fix this?
Please let me know.
RaoulAugust 4, 2020 at 6:45 am #987479Andre FloresModerator
The issue occurs because some fields on the checkout page are hidden, e.g. Adults and Children count select fields: https://prnt.sc/ttmtr4. This prevents the accommodation from being booked, since these fields are obligatory. Most likely the issue is caused by the conflict with some third-party plugins, I would ask that you try disabling additional plugins to find out which one causes the issue. If there is no luck, try switching to default WordPress theme, e.g. Twenty Twenty and check whether the issue is caused by the theme.
AndreAugust 13, 2020 at 8:02 am #991214Stefan ZijlstraParticipant
Thanks for your reply, i hid the state field because in the netherlands we do not have states. When i unhid it, it worked again.
Thanks for your help.
StefanAugust 14, 2020 at 6:27 am #991670Andre FloresModerator
I am glad that you were able to have the issue resolved. It would be much appreciated if you share your positive experience about the Hotel Booking plugin at: https://motopress.com/products/hotel-booking/#reviews.
- You must be logged in to reply to this topic.