• Resolved dfjehb2

    (@dfjehb2)


    I installed WPForms, enabled Checkbox reCAPTCHA v2 support, created a form (which works great either without captcha or with v3) and then decided to add v2 checkbox to the form. I enabled the relevant option in the form. The captcha checkbox can be seen on the “Edit” page, but not on the actual page or the preview. I checked the source code and it shows the following:

    <input type="text" name="g-recaptcha-hidden" class="wpforms-recaptcha-hidden" style="position:absolute!important;clip:rect(0,0,0,0)!important;height:1px!important;width:1px!important;border:0!important;overflow:hidden!important;padding:0!important;margin:0!important;" required="">

    In other words it is hidden for some reason. I tried using the “No-Conflict” option (because I thought that another plugin called “Anti-Spam”, which prevents spam in comments might cause this) but it didn’t help – WPForms continues to hide the recaptcha box. (I even went as far as to disable other plugins). Needless to say that it prevents from sending the form (“This field is required” appears near the hidden recaptcha when you attempt to submit the form). How the problem can be solved?

    • This topic was modified 5 years, 8 months ago by dfjehb2.
    • This topic was modified 5 years, 8 months ago by dfjehb2.
    • This topic was modified 5 years, 8 months ago by dfjehb2.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi dfjehb2,

    The code is correct, as certain elements of the reCAPTCHA field is hidden. However you should still see the reCAPTCHA field for v2 checkbox reCAPTCHA.

    If you’re encountering this error, there could be a conflict with another plugin or the site theme, and you can follow our guide on how to test for conflicts to identify the cause of the issue.

    I hope this helps!

    Thread Starter dfjehb2

    (@dfjehb2)

    Thanks! As it turns out a plugin called Asynchronous Javascript causes this problem. I deactivated it and the captcha now works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘v2 Checkbox reCAPTCHA is hidden’ is closed to new replies.