Hi,

Drupal 7

Go to /admin/config/people/captcha
In the FORM PROTECTION area
in the configuration table
go to the last row (with the empty FORM_ID entry field)
Enter the information for this form

In the FORM_ID column enter the form_id

To quickly find the form_id of the webform
take the node id and append it to "webform_client_form_"
for example if the node id is 3 your webform form_id will be "webform_client_form_3".
You can also use firebug to inspect the form_id field.

In the CHALLENGE TYPE column make a selection from the dropdown box
Scroll to the bottom of the page and click the "Save Configuration" button

After inspect the form, I see this class:

<form class="webform-client-form webform-client-form-37" </form>

I entered webform_client_form_37 as instructed above. After I clear the cache, I do not see the captcha in webform.

Notice that when I inspect the form I see dashes(-) like this. "webform-client-form-37" but instruction says to enter like this with underscore (_) "webform_client_form_37". Captcha module does not accept form id with dashes. Any help?

Comments

pixelsweatshop’s picture

Make sure you look at it while not logged in. If you want authenticated users to have to complete a captcha, then change your captcha settings.

drupol’s picture

Thank you. It works for public users. It makes sense.

aris.rep’s picture

Works great, thanks a lot drupol !