Closed (duplicate)
Project:
reCAPTCHA
Version:
7.x-1.8
Component:
reCAPTCHA Captcha
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2012 at 03:38 UTC
Updated:
19 Dec 2012 at 18:17 UTC
the recaptcha renders fine on my node_form, but when trying to grab this with drupal_get_form($form_id, $node) which is then passed to drupal_render() as part of an ajax call, the recaptcha vanishes. It displays the description "This question is for testing whether you are a human visitor and to prevent automated spam submissions." but no recaptcha. The math captcha works fine.
You can see this issue has been posted before
in D6
http://drupal.org/node/1349850
in D5
http://drupal.org/node/379014
But it seems no one ever replied to any of these posts. Can someone please just provide a hint on what might be going on?
THANKS!
Comments
Comment #1
liam morlandWhen you say "again", do you mean that it used to work, but is now broken again, or has it always been like this?
Could this be related to the problem of putting more than one reCAPTCHA on the same page? There is an issue about that: #1833822: Allow multiple instances of reCAPTCHA on the same page.
Comment #2
liam morlandIssues referenced in summary:
#379014: drupal_get_form and CAPTCHA
#1349850: drupal_get_form() doesn't render recaptcha
Comment #3
nkLiVF commentedSorry the 'again' refers to the fact that this problem existed in 5, 6, and now 7.
I don't have more than one reCAPTCHA on the page, so I don't think that's the problem.
Comment #4
liam morlandDuplicate of #1349850: drupal_get_form() doesn't render recaptcha.
Comment #5
liam morlandTry the latest development version. This may have been fixed with #1119086: reCaptcha form not display in Colorbox iframe.