You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple forms on page that use V3 validation. The issue is, that for every form, the widget outputs <script> which contains globally defined variables such as grecaptchaInput or grecaptchaForm which are being overwritten with each new form in page.
The solution is either use local vars, such as let or const or add random prefix to them when generating the widget script.
The text was updated successfully, but these errors were encountered:
I have multiple forms on page that use V3 validation. The issue is, that for every form, the widget outputs
<script>
which contains globally defined variables such asgrecaptchaInput
orgrecaptchaForm
which are being overwritten with each new form in page.The solution is either use local vars, such as
let
orconst
or add random prefix to them when generating the widget script.The text was updated successfully, but these errors were encountered: