Hi Borren,
I’m sorry for the trouble with that!
It doesn’t look like reCAPTCHA is being loaded in the form you shared, so I’m not able to see yet why this isn’t working. The best next step will be to go through our reCAPTCHA setup tutorial to be sure you’ve completed all of the steps there.
If you do that and still see this issue, could you please let me know? Any additional details about what you’ve tried would be helpful as well.
Thanks! 🙂
Thread Starter
Borren
(@borren)
Hi Jess,
Sorry, I changed the page in the meanwhile. I activated reCaptcha again on this page.
I see in the source code that the container is appearing, but the class to show the iframe has the name hidden.
It is not the first time I used WPforms and reCapcha and I did compare but can’t find the problem.
Thanks for waching again.
Hi Borren,
Thanks for turning reCAPTCHA back on in that form, and I’m able to see the issue now.
When I look at the code for the URL you shared, our reCAPTCHA scripts aren’t being loaded. In fact, none of our JavaScript files are being loaded. This is why our validation isn’t working either (here’s what validation looks like in this form, and here’s what validation should look like).
When our style files are loading but our JavaScript files are not, it’s most often because the theme is missing an important component: wp_footer()
An easy way to test this, if you’re willing, is to switch your site’s theme to the default WordPress theme (which is currently a theme called “Twentyseventeen”). A theme like this will always include the required WordPress components, so if the issue is fixed in this theme you’ll know for sure that wp_footer() is missing in your current theme.
This leaves two options for next steps:
1) You could reach out to your theme’s author to ask them to provide a fix. If we’ve correctly identified the issue, they’ve likely had many reports of similar problems (this missing component will break the functionality of many plugins) and they will hopefully be willing to fix it for you.
2) You could consider switching to a new theme. I don’t recommend this lightly, as this is a significant change for most sites, however if your current theme is missing a key WordPress component this will be the best way to both fix this issue and avoid additional issues in the future. In case it helps, WPBeginner has an extensive list of theme recommendations for many different types of sites.
I apologize that I don’t have a simpler fix, but I hope this helps! If you have any questions or if I can better explain any of the details above, please just let me know 🙂
Thread Starter
Borren
(@borren)
Thank you for the clear answer! I take a look if I can create a fix in the theme.
Hi Borren,
You’re welcome, happy to help! And in case it’s a useful reference, here’s the WordPress Codex page on wp_footer().
That page includes the code from one of the old WordPress default themes, Twentyten, so you can check out where it’s supposed to go.
I’d recommend getting in touch with your theme author too, though, since any updates to your theme have a likely chance of overriding changes you put in place (or if you’re up for a more advanced approach, you could use a child theme, which is much safer than changing original theme files).
I hope this is helpful! 🙂