BUG: Recaptcha Code is added multiple times
-
Dear Brevo Team,
I have added multiple forms on the same webpage, all with invisible Captcha fields from google.
The result are javascript errors:
VM105520 recaptcha__en.js:449 Uncaught (in promise) Error: reCAPTCHA has already been rendered in this element
at VM105520 recaptcha__en.js:449:298
at HTMLDivElement. ((Index):2621:44)
at Function.each (jquery.min.js?ver=3.7.1:2:3129)
at e..each (jquery.min.js?ver=3.7.1:2:1594)
at onloadSibCallbackInvisible ((Index):2620:55)
I thinks its because: (I removed the script tag)
type=”text/javascript” async=”” charset=”utf-8″ src=”https://www.gstatic.com/recaptcha/releases/lqsTZ5beIbCkK4uGEGv9JmUR/recaptcha__en.js” crossorigin=”anonymous” integrity=”sha384-me+fKkpx+LDPr+jjTccMyZRS5BoP+JLiYHKscp4bUxp+j6TnL/qxiwcgzpRCCrlc”
is added for each additional form.Best,
Marko
- You must be logged in to reply to this topic.