boltforms icon indicating copy to clipboard operation
boltforms copied to clipboard

recaptcha v3 forms not submitting

Open sJones1997 opened this issue 4 years ago • 1 comments

I can't submit forms which have a recaptcha v3 field, the function to submit the form isn't being trigger by form button.

Function was defined like this: window["onRecaptchaSubmitted{{formNameJs}}"] = function(token) {}

So have changed back to
function onRecaptchaSubmitted{{formNameJs}}(token) {}

The later is what I originally submitted in a PR a while ago, but was changed.

If I'm missing anything let me know, otherwise will issue a PR.

sJones1997 avatar Feb 23 '22 15:02 sJones1997

@bobdenotter I think this applies to the bolt/forms

sJones1997 avatar Mar 02 '22 09:03 sJones1997