Multiple instances of Recaptcha on same page

1,090 views
Skip to first unread message

nick hammond

unread,
Mar 4, 2009, 5:24:33 PM3/4/09
to reCAPTCHA
I have a contact button that when clicked on pulls down a contact form
via javascript. This exists on every page since it is a very fast and
simple way for someone to get in touch with us. This form has to be
here and absolutely has to have Recaptcha on it.

We have a blog that can be commented on. This form must have a
Recaptcha as well so that we can reduce spam as much as possible.

Currently I can only get the first Recaptcha to show but not the
second. It looks like it's because the html that Recaptcha generates
doesn't namespace the divs so it only knows that it needs to write to
that div and stops after completing the first one.

Is there a parameter, option or some way to get around this so that I
can have multiple recaptchas on one page? I don't want the "be
creative" solution because that won't work for this situation, there
are two separate forms that both must have recaptcha and serve two
completely different purposes. I also don't want to bring up a modal
box that prompts the user to enter the Recaptcha.

Thank you for your help

reCAPTCHA Support

unread,
Mar 4, 2009, 9:07:26 PM3/4/09
to reca...@googlegroups.com
In a situation like this, you should create the CAPTCHA dynamically for each portion of the page (eg, in the comment box when the user starts to make a comment or in the mail form when the user clicks pull down). In general, we prefer that reCAPTCHA be triggered when it's likely as that helps us better allocate human effort for digitization.
--
reCAPTCHA: stop spam, read books
http://recaptcha.net
Reply all
Reply to author
Forward
0 new messages