Embedding the same form more than once on a page giving Recaptcha error


I am using 3 contact form on same page with recaptcha v2 enabled, but i am not able to see recaptcha box and it is giving me error " Uncaught Error: reCAPTCHA has already been rendered in this element
at recaptcha__en.js:40:80 "

if i use only one contact form then it is working properly. please let me know what is the issue here.


Browsers and scripts don’t support multiple elements on a page with the same id attributes so embedding the same form in a page multiple times is not supported.

What you could do is duplicate the form via the Forms list page in the admin, so you have multiple forms with different IDs, and then embed each of them once in the page.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.