Multiple Google ReCaptcha implementations on one page

I have multiple implementations of Google invisible reCaptcha on the same page.

Sometimes you get a warning that says "Unable to contact recaptcha, please check your connection and try again."

I believe this is because you shouldn't be calling the recaptcha request multiple times.

Is there a way to get around this, either by using all 3 forms with one recaptcha instance, or by allowing multiple requests in some way.

If not, is there an alternative reCaptcha solution to secure multiple forms on the same page?

The method I'm using is asynchronous shutdown in JS with a callback of my own function that initializes the recaptcha for each form.

In the network log, you can see that each initialization causes 3 requests to google.

thank

+3


source to share





All Articles