• Resolved fimo66

    (@fimo66)


    Hi,

    1)
    I am using the ver. 8.6 and have a problem with the form for people wanting to book,
    after they fill out the form (im using this option from the admin menu)
    ” Check the box to activate CAPTCHA inside the booking form.” + “Using BootStrap CSS for the form fields”
    but If a user forget to fill out the CAPTCHA field when the push the send button
    then they have to refresh the form and write all the personal info once again or am i doing something wrong in the form ?

    2) is there any way that its possible to have a “*” next to the CAPTCHA filed
    with a text saying that its mandatory to fill out or something like that ?
    like this in the form “First Name*:”Last Name*: and then with a text next to or inside the field to let people know that they need to fill them out before pushing the send button ?

    • This topic was modified 6 years, 9 months ago by fimo66.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    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.
    Plugin Author wpdevelop

    (@wpdevelop)

    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 ?

    Plugin Author wpdevelop

    (@wpdevelop)

    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

    🙂

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

The topic ‘CAPTCHA ?’ is closed to new replies.