Ive installed the webform module for use with building questionnaires, but I want to use captcha also. I was watching a video demo on using the webform module but it was under 5.x, could that be why I dont see anywhere to turn on or enable captcha for my webforms or in the webforms configuration ?

Comments

WorldFallz’s picture

i don't believe captcha is built into webform. I don't know what video you're talking about, but you probably have to use the http://drupal.org/project/captcha module.

pixelite’s picture

Mollom works really well for keeping spam out of other forms. It's not yet working for webforms, but there's been some recent activity on this issue, so it might be working soon. You can follow along at this thread: http://drupal.org/node/259488.

jamyers2k’s picture

Yes, I am looking forward to integrating captcha into the webforms I've created. Two great modules like these MUST come together. I hope the teams are talking. It is marriage made in Drupal Heaven from where it site. I have a rather important webform but without CAPTCHA I am hesitant to deploy it.

bitshift’s picture

I think we can just reference the form id in the captcha settings, cant we?

designcrs’s picture

i tried adding the following form_ids

webform-client-form-218
webform-client-form
webform-client

they didn't work.

it finally did let me add "webform", but the captcha still doesn't show up...

Anonymous’s picture

Instead of

webform-client-form-218

Use

webform_client_form_218

justafish’s picture

If you check the box in the captcha settings to "Add CAPTCHA administration links to forms", then you'll see options to add a challenge appear under your webforms.

jonbowyer’s picture

Thanks for that, I had the same requirement and found this thread.

The solution you mention (enabling "Add CAPTCHA administration links to forms" in CAPTCHA config) seems to work, *but* the only problem is that it messes up my site banner for all users with the "administer CAPTCHA settings" permission (i.e. for site admins), because as with many drupal sites I have a search box up there, which now also has a CAPTCHA admin option below it..

As it is, I'm just tolerating this since it only affects admins and is preferable to having my webforms forms being unprotected.

I would like to solve this though - does anyone have any ideas how I can prevent the CAPTCHA admin option appearing below the banner search box?

Anonymous’s picture

You don't need to leave "Add CAPTCHA administration links to forms" enabled. Enable it, make any necessary changes to forms, and disable it again.

doomed’s picture

Garry Egan’s picture

Quick solution, in case you don't want to visit the link that DOOMED presented.

After you've built your form, VIEW SOURCE and get the FORM ID. It will look something like this

id="webform-client-form-67"

Then convert those dashes to underscores.

webform_client_form_67

Then paste that ID into your FORM_ID area under GENERAL SETTINGS in your CAPTCHA UI. (/admin/user/captcha/captcha)