Hello.
Basically if you was not entered or entered wrong code in CAPTCHA it’s have to refresh code of captcha at the same page without page refreshing. Please test it.
Otherwise please send the link to your page with booking form, where you are having the issue.
Thank you.
Thread Starter
fimo66
(@fimo66)
hi again,
Thanks for the answer, so if i understand you correct IF a user forget to write the code in the CAPTCHA, then they have to refresh the page to have a new CAPTCHA but then they have to fill out all the others fields again, or ?
If that is true, is it then possible in future updates to have a text next/or inside every box that is mandatory for a user to fill out so they know before pushing the send button, so they can avoid the need to fill out everything once again because the forgot to fill out a field that was needed before they push the send button ?
Just testet now IF i dont fill out the filed with the CAPTCHA code, i get a reminder that i have to fill out this field but after the code is inserted, i cant push the send button before i refresh the hoel page, loosing my other info
thanks for this plugin btw 🙂
-
This reply was modified 6 years, 9 months ago by
fimo66.
-
This reply was modified 6 years, 9 months ago by
fimo66.
Hello.
Basically the page have not to be reloaded.
Only the captcha code have to be reloaded if you enter incorrect code. But all other fields have to be filled as before.
Kind Regards.
Thread Starter
fimo66
(@fimo66)
Hi again,
if you have the time pls check on my test page here:
soccerplay.bet4fun.dk/lokal-bokning
because if i fill out all the fields except the capcha code
then i get a info box “The code you entered is incorrect” but im not able to send my data with the new capcha code unless i refresh the hole page perhaps you can see what is wrong ?
and is it possible to have a text thats its a “must be filled in” filed ?
Hello.
You are right. The send button was disabled. Sorry about this.
To fix this issue, pelase make this fix.
Please open this file ../wp-content/plugins/booking/core/lib/wpbc-booking-new.php
( you can check how to edit files in WordPress menu in this article https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/ )
then find this code ( its exist in 2 places, so please do this 2 times):
jQuery('#booking_form_div<?php echo $bktype; ?> input[type=button]').prop("disabled", false);
and replace it to this code:
jQuery('#booking_form_div<?php echo $bktype; ?> input[type=button]').prop("disabled", false);
jQuery( '#booking_form_div<?php echo $bktype; ?> button' ).prop( "disabled", false ); //FixIn: 8.6.1.8
This fix will be exist in next update of Booking Calendar, as well.
Kind Regards.
Thread Starter
fimo66
(@fimo66)
Hi,
Great you found the “bug” and are able to quick fix it now / next update.
Thanks for quick support / help
🙂