Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reCAPTCHA doesn't work with Ajax #195

Open
darwinsoftware opened this issue Jul 30, 2024 · 2 comments
Open

reCAPTCHA doesn't work with Ajax #195

darwinsoftware opened this issue Jul 30, 2024 · 2 comments

Comments

@darwinsoftware
Copy link

Using reCAPTCHA v3 doesn't work with a form that uses Ajax.

The JS code which is added to the form waits for a form submit trigger, but that trigger is interrupted with an event.preventDefault() by the JavaScript that handles the form submission via Ajax.

As such, the reCAPTCHA hidden input is never populated with a value and all form submissions fail.

The same applies to both of the v2 options.

@samuel-clara
Copy link

samuel-clara commented Nov 8, 2024

Any planned improvements on this?

@OCJ-Digital
Copy link

Same problem here , i dont get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants