Anyway know a way to enable Captcha for signup?
I saw a few other older posts here on Captcha but couldnt get it to work.

I allow anonymous users to be allowed to 'sign up for content' with that permission.
and then added the 'signup_edit_form' in the CAPTCHA settings.

When as admin i goto an Event content type i created, it has signups enabled.
As admin, i can see 'CAPTCHA: challenge "reCAPTCHA" enabled' there.

Yet the captcha doesnt show up though.
Anon User doest have 'skip CAPTCHA' perms so not sure why it isnt showing up.

Comments

armyofda12mnkeys’s picture

So i figured out the form for anonymous users has the form id: signup-form but the form for admin on the view page is signup-edit-form... so I thought i could just go into Captcha settings and set the form id to use as signup-form but it says its an "illegal form_id".
Any idea why?

armyofda12mnkeys’s picture

Hey I figured it out.
The form id i got was from the html form... the internal drupal form_id always uses _ instead of -, so adding signup_form worked :).
Thanks
Arian

dww’s picture

Status: Active » Fixed

Great, glad you figured it out. In the future, when you resolve a support request, please set the status to "fixed". Thanks!

armyofda12mnkeys’s picture

Status: Fixed » Active
Issue tags: +captcha recaptcha signup

I may have spoke too soon...
In Firefox it errors for anonymous user.
and IE errors:

This signup_form form has a Captcha on it and does some crazy stuff:
http://www.smoministries.us/content/testevent1
Error in IE:
Message: 'Recaptcha.widget' is null or not an object
Line: 15
Char: 260
Code: 0
URI: http://www.google.com/recaptcha/api/js/recaptcha.js

Error in Firefox:
1. Firebug cannot find _firebugConsole element true Window testevent1
2. RecaptchaState is not defined
http://www.google.com/recaptcha/api/js/recaptcha.js
Line 23

This newsletter 'simplenews_subscription_manager_form' form however does not give any errors:
http://www.smoministries.us/newsletter/subscriptions

armyofda12mnkeys’s picture

Status: Active » Fixed

reading this:
http://groups.google.com/group/recaptcha/browse_thread/thread/60cae6c9d3...
I assume it is cause signup div is closed and not displayed unlike the newsletter page which shows it...
Some sort of Flash issue i believe that needs the object 'on' the page to function correctly.

My drupal is a little rusty, where in the module can you set it open all the time?
Ill close it once i find it. or if someone can beat me to the punch ;)

armyofda12mnkeys’s picture

getting closer... Where is the admin setting for signup_fieldset_collapsed?
I want to not keep that signup fieldset collapsed ever since I will be using Re-Captcha on all sites (Note: I could also give up switch to image or math based to avoid this problem).

armyofda12mnkeys’s picture

So i found "Default fieldset behavior for per-node signup form:" in Signup Advanced settings...
I kept it expanded thinking it would work, to no avail.
I will close this and raise the issue with ReCaptcha module and just use image/math based for my signup pages.

Raised issue here:
http://drupal.org/node/962970

armyofda12mnkeys’s picture

So i found "Default fieldset behavior for per-node signup form:" in Signup Advanced settings...
I kept it expanded thinking it would work, to no avail.
I will close this and raise the issue with ReCaptcha module and just use image/math based for my signup pages.

Raised issue here:
http://drupal.org/node/962970

Status: Fixed » Closed (fixed)
Issue tags: -captcha recaptcha signup

Automatically closed -- issue fixed for 2 weeks with no activity.