Hi guys,
We've run into a problem with reCaptcha on our webforms. As the page completes loading, the main page content disappears and we are left with only the recaptcha form. A quick look in firebug is showing the following error.
RecaptchaState is not defined
[Break on this error] f+"'/>"}Recaptcha._css_toggle("recaptc...a._get_help_link(),"recaptcha_popup", recaptcha.js(line23)
The HTML markup is still present when viewing source.Regular image/math captcha methods are working, but our client requires reCaptcha.
Has anyone experience this? Can you suggest a fix?
Comments
Comment #1
hixster commentedI've enabled the Ajax Load and am using this for adding the reCaptcha to the forms and this appears to have resolved the issue.
Am still curious as to why the reCaptcha does not get added to the page correctly with Ajax API , i suspect some conflict with JQuery.
Update: Ajax load is breaking other stuff on the site, so still looking for a solution to this :-(
Comment #2
lizuka commentedI'm experiencing this issue aswell on one particular Drupal installation. However, on another one it works fine.
And while I can't find a solution I've switched back to the math captcha.
So I'm assuming there's another module in conflict with recaptcha or something along those lines.
Also the problem is on Firefox only, as recaptcha works fine on IE8 and Chrome.
Hope this helps in some way.
Comment #3
polskikrol commentedChecked this with v1.5 code and have the same issue as with v1.4. However, receive the error in Internet Explorer only with it working fine in Firefox.
Comment #4
lizuka commentedAfter searching for this issue yesterday I came across an old article experiencing a similar problem :
http://www.canfield.com/content/recaptcha-and-jquery-and-drupal-white-sc...
While it refers to Drupal 4.7 it helped me pinpoint my problem.
I have some Jquery code using the wrap() function to add rounded bordered divs to my other page elements which is in conflict with reCaptcha.
As soon as I removed this bit of code reCaptcha worked.
Now I need to find a way to make both of them work together.
TBC
Comment #5
Dashu commentedAny update on this bug ?
We are experiencing this problem too in a js fancybox
Comment #6
hass commented