I saw a few other threads asking about this but they were all old and locked without a solution. (Such as https://www.chronoengine.com/forums/posts/f2/t98259/multiple-forms-recaptchas.html)
I have a page with two forms, each having a ReCaptcha block. They work fine if I only have one or the other displayed, but once I show both, the ReCaptchas don't work.
I used the info here to fix this problem: http://mycodde.blogspot.com/2014/12/multiple-recaptcha-demo-same-page.html
Form #1:
- Custom code block with recaptcha1 div, do NOT use the ReCaptcha block
- On load, Load JavaScript action with API URL and JS code, do NOT use Load ReCaptcha action
- On submit, Check ReCaptcha action like normal
Form #2:
- Custom code block with recaptcha2 div, do NOT use the ReCaptcha block
- On load, do NOT use Load JavaScript or Load ReCaptcha.
- On submit, Check ReCaptcha action like normal
Form #1 still works on pages by itself, but Form #2 will only work on pages with Form #1 displayed too.
Maybe from here someone can come up with a better solution, but at least this is better than nothing! ๐
I have a page with two forms, each having a ReCaptcha block. They work fine if I only have one or the other displayed, but once I show both, the ReCaptchas don't work.
I used the info here to fix this problem: http://mycodde.blogspot.com/2014/12/multiple-recaptcha-demo-same-page.html
Form #1:
- Custom code block with recaptcha1 div, do NOT use the ReCaptcha block
- On load, Load JavaScript action with API URL and JS code, do NOT use Load ReCaptcha action
- On submit, Check ReCaptcha action like normal
Form #2:
- Custom code block with recaptcha2 div, do NOT use the ReCaptcha block
- On load, do NOT use Load JavaScript or Load ReCaptcha.
- On submit, Check ReCaptcha action like normal
Form #1 still works on pages by itself, but Form #2 will only work on pages with Form #1 displayed too.
Maybe from here someone can come up with a better solution, but at least this is better than nothing! ๐