• Resolved Sharen McArthur

    (@sharenmcarthurgmailcom)


    The CAPTCHA is not showing in Mozilla, Chrome, or Safari browsers. It is only showing in Internet Explorer. How can that be? What do I do?

    I am currently running a Mother’s Day contest, and to submit,my users must complete a CAPTCHA. This may be why I’m not getting submissions.

    Here’s my website: https://www.storiesfromacottage.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Captcha will only be displayed and work if you are using standard registration, login, comments form pages. In case of using custom forms and pages it will be necessary to make changes in them so that captcha could be displayed and work correctly.

    Please follow the instructions below.
    = I would like to add Captcha to custom form on my website. How can I do this? =
    1. Install the Captcha plugin and activate it.
    2. Open the file with the form (where you would like to add the captcha to).
    3. Find a place to insert the code for the captcha output.
    4. Insert the necessary lines:

    if( function_exists( 'cptch_display_captcha_custom' ) ) { echo "<input type='hidden' name='cntctfrm_contact_action' value='true' />"; echo
    cptch_display_captcha_custom() } ;

    If the form is HTML you should insert the line with the PHP tags:
    <?php if( function_exists( 'cptch_display_captcha_custom' ) ) { echo "<input type='hidden' name='cntctfrm_contact_action' value='true' />"; echo cptch_display_captcha_custom(); } ?>
    5. Then you should add the lines to the function of the entered data checking
    if( function_exists( 'cptch_check_custom_form' ) && cptch_check_custom_form() !== true ) echo "Please complete the CAPTCHA."
    or
    <?php if( function_exists( 'cptch_check_custom_form' ) && cptch_check_custom_form() !== true ) echo "Please complete the CAPTCHA." ?>
    You could add this line to the variable and display this variable in the required place instead of echo ""Please complete the CAPTCHA."". If there is a variable (responsible for the errors output) in the check function, this phrase can be added to this variable. If the function returns ‘true’, it means that you have entered captcha properly. In all other cases the function will return ‘false’.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter Sharen McArthur

    (@sharenmcarthurgmailcom)

    Thank you for your response. I have your CAPTCHA activsted. I am not a coder, but I do understand how to do step 4. Step 5, however, I don’t understand.

    I want you to know I added the code in a Custom HTML box for my contact form. (Yes, I inserted the code to take care of the HTML like you said.)

    Am I supposed to add both of the codes in #5? (You have the word or between them.) I added both of them, but when I looked at my webpage contact form and only code showed up, no CAPTCHA.

    Second, I don’t understand to what line you are referring when you state, “You could add this line to the variable and display this variable in the required place instead of echo “”Please complete the CAPTCHA.”” What line? I also don’t understand the rest of that paragraph.

    Here’s what showed up on my contact page:
    First Name *

    Last Name *

    Email *

    Message *

    if( function_exists( ‘cptch_display_captcha_custom’ ) ) { echo “”; echo cptch_display_captcha_custom() } ; “; echo cptch_display_captcha_custom(); } ?> if( function_exists( ‘cptch_check_custom_form’ ) && cptch_check_custom_form() !== true ) echo “Please complete the CAPTCHA.” or

    Your help would be appreciated.

    Hi,

    1. Only one of the variants in #4 should be pasted – the only difference between them is that one has PHP tags, and one doesn’t.

    2. The code from section #5 should be pasted to the function that checks the value from your form. Again, please paste one of the variants, depending in the place you are inserting the code.

    3. In case you have difficulties adding the code to your custom form, we will be glad to help you. However, please note that this is a paid service, as we will need some time to examine your custom form.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter Sharen McArthur

    (@sharenmcarthurgmailcom)

    How much does it cost for you to add the code to my custom form?

    Thread Starter Sharen McArthur

    (@sharenmcarthurgmailcom)

    Could someone please tell me how much it costs to add the code to my custom form?

    Hi,

    We have received your query and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Dear Sharen,

    To estimate the price, we need to know what do you use to display your custom form. Thus, we kindly ask you to create a private ticket on our support forum (support.bestwebsoft.com) and specify the name of the plugin/theme you are using. Also, could you please provide a link to the page with this form.

    On our forum, you will be informed regarding the price for the customization. Also, all the details will be discussed there.

    Regards,
    BestWebSoft Support Team

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CAPTCHA not showing in some browsers’ is closed to new replies.