Skip to content

Spam control with CAPTCHAs

Configure the CAPTCHA module ( /admin/config/people/captcha )

  1. Change Default Challenge Type to "Hidden CAPTCHA"
  2. On the "Hidden CAPTCHA" tab, change the hidden field text label to something different (it can be a different math problem, e.g. "18 - 4", just don't use the default)
  3. On the main "CAPTCHA" tab, clear the CAPTCHA placement cache.

Addding CAPTCHAs to custom webforms

  1. Get the node id of the form. This is visible in the URL when you edit the form.
  2. On the CAPTCHA configuration page ( /admin/config/people/captcha ), add a new Form ID for the webform. The Form ID will be "webform_client_form_<node_id>". For example, if the webform node id is 41, the Form ID should be "webform_client_form_41".
  3. Set the Challenge Type to "Default Challenge" and save.

Configure the reCAPTCHA module (admin/config/people/captcha/recaptcha)

  1. Enter the site key: 6Le7qaseAAAAALpu_NP6DI9XZNhO8Wya1N1jIwvl
  2. Enter the secret key: 6Le7qaseAAAAAD5aOED-vmB-3jhcTJ2MJlgeYxjV
  3. Make sure the option "Use reCAPTCHA globally" and "Enable fallback for browsers with JavaScript disabled" are checked