• Resolved ranaawaisijaz

    (@ranaawaisijaz)


    Hi,
    I’m working on multiple forms on a single page with ReCaptcha in it.
    But only one form gave me the response after submitting the ReCaptcha in javascript.
    On other forms on the same page grecaptcha.getResponse() is empty. Only 1 form get the response by using grecaptcha.getResponse().

    Please help me out to resolve this. How can I get the grecaptcha.getResponse() for all the ReCaptcha in a single page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    There shouldn’t be any restrictions to having multiple forms on the same page with our [recaptcha] script. In our testing, it does treat each form submission independently. Could you edit your original question and append the website URL to the “Link to the page you need help with” field so that we can take a look?

    Thread Starter ranaawaisijaz

    (@ranaawaisijaz)

    https://stonefly.com/cloud

    Here is the link where we use multiple forms with multiple captchas.
    one is under “Fill Out the Form Below for Questions, Demos, and Quotes” and the other is under the footer section.

    but only the captcha under “Fill Out the Form Below for Questions, Demos, and Quotes” gave the response. on the other hand, the captcha under the footer doesn’t give a response in jQuery by using grecaptcha.getResponse().

    If we have only one captcha on a single page it executes perfectly but if we have 2 or more than 2 recaptchas then only one of them gave a response and all the others gave empty responses.

    Please have a look at that and send me the possible solutions.

    Thank you

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    It looks like the ReCaptchas on the current forms is not this plugin ReCaptchas. Are there any caching/minifying plugins like WP Rocket or WP Super Cache installed? If so, you might try adding the following to the excluded modification/concatenation list:

    /wp-content/plugins/wpcf7-recaptcha/assets/js/wpcf7-recaptcha-controls.js

    Ensure that the plugin is up to date.

    Additionally, you can install the WordPress Health Check & Troubleshooting Plugin. This will allow you to safely disable plugins and revert to a default theme. You may read over their documentation for more details. Using this method, you can narrow down if there are any conflicts with other plugins or themes.

    This seems like a plugin conflict as we can’t replicate the issue on our end. Having multiple forms in the content works as expected, using apply_shortcodes() in the footer and having one in the content works as expected. The above suggestions are our best guess to help narrow down the issue.

    Should you continue to have issues with our plugin, here are some alternatives that claim to work with Contact Form 7:

    https://www.ads-software.com/plugins/invisible-recaptcha/

    https://www.ads-software.com/plugins/astoundify-recaptcha/

    https://www.ads-software.com/plugins/wp-captcha/

    https://www.ads-software.com/plugins/wp-recaptcha-integration/

    Hopefully, you’re able to use the above information to solve your issue. Should you have any additional questions please reply back to this thread and we can assist further. Have a wonderful rest of your week!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Captcha Response Not Coming’ is closed to new replies.