Skip to content

How to Add a CAPTCHA to Contact Form 7

Contact Form 7 does not get the CAPTCHA automatically. You place a tag where it should go, which lets you choose its spot in each form.

Go to Advanced CAPTCHA → Integrations and switch on Contact Form 7. It saves at once and the badge turns to Protected.

The Contact Form 7 card switched on

Open Contact → Contact Forms and edit the form. Click the Advanced CAPTCHA button in the editor’s tag bar and then Insert Tag, or type the tag yourself above [submit]:

[ddwcac_captcha]

Then click Save.

A name after the tag, such as [ddwcac_captcha captcha], works too. It is optional.

Open the page with the form in a private window. The CAPTCHA sits where you put the tag.

A Contact Form 7 form with the Built-in CAPTCHA above Submit

Fill in the form, give a wrong answer and click Submit. The message is not sent. The error appears under the widget, the way Contact Form 7 shows any field error.

The form with the CAPTCHA error under the widget

The log records it on the Contact Form 7 form.

  • The widget follows the provider. Switch to Turnstile or reCAPTCHA and every Contact Form 7 form changes with it.
  • The honeypot comes with the tag. It is part of the same field.
  • Switching the card off stops the check, and the tag then prints as plain text. Take the tag out of your forms if you switch the integration off for good.