TransWikia.com

Sprout Forms Recaptcha js error - everything flagged as spam

Craft CMS Asked by artmem on May 7, 2021

I’m using the Google reCAPTCHA plugin with Sprout forms. I’m trying to use an invisible reCAPTCHA badge, but I’m getting a js error on page load:

Unhandled Promise Rejection: TypeError: null is not an object (evaluating 't.addEventListener')

When I have reCAPTCHA enabled, every submission goes to spam with the error ["Google reCAPTCHA can’t be blank."]

If I disable it, the form works fine, but it is overwhelmed with spam.

I’m not using a custom form template (well, I customized some of the html elements, but I didn’t touch any of the actual twig elements).

Full error message is attached.
enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP