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

Mutliple recaptcha forms on a single page #376

Open
timobleeker opened this issue Dec 7, 2020 · 1 comment
Open

Mutliple recaptcha forms on a single page #376

timobleeker opened this issue Dec 7, 2020 · 1 comment

Comments

@timobleeker
Copy link
Contributor

I recently opened a PR in an effort to allow mutliple invisible recaptcha forms on the same page by using the id of the recaptcha element in the callback function.

However, this hasn't actually achieved what I set out to do. As the invisible recaptcha callback function is generated n times (once for each captcha). They all have the same name so the last function will override any previous ones.

A user can add a custom callback which is the easiest workaround, but I still feel this gem could/should support multiple captchas without hassle.

I'm not really sure how to address this yet. I'm happy to spend some more time on this, but just posting it here as an issue in case other people run into same. Also keen to hear any suggestions on how to approach this.

@Talha345
Copy link

Talha345 commented May 4, 2022

How did you solve this using custom callback!
I am having the same issue and it is a pain.

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

2 participants