/
Add CAPTCHA to webform

Add CAPTCHA to webform

Here are steps on adding  the default CAPTCHA/Re-CAPTCHA to a webform (like the Contact Us form):


  1. Navigate to the webform and inspect a field (right click any field on the webform → Inspect)
  2. Find the hidden component with the name of "form_id" and copy the value name
  3. Add that value as a new form ID at /admin/config/captcha  (Go To search: CAPTCHA)
  4. Select 'Default challenge type'
    1. The default type is recommended for all forms, which will use the global setting from the top of the page. This allows for a more consistent user experience across all form.
  5. Save - your CAPTCHA default should now appear on the webform!