Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

FormsSpam Protection
How to Set Up Cloudflare Turnstile

How to Set Up Cloudflare Turnstile

What is Cloudflare Turnstile?

Add Turnstile for spam protection
Cloudflare Turnstile is a free, user-friendly tool that verifies whether someone is human without the hassle of complex CAPTCHAs. It uses behind-the-scenes checks to identify real users, so your site visitors get a smooth experience.

Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.

Set up Turnstile

These steps generate the keys you need to use Cloudflare Turnstile's CAPTCHA service and add them to Formidable.

  1. Go to Cloudflare Turnstile and click the Start building for free button to use the free plan.
    Get started with a free Cloudflare Turnstile plan.
  2. Get a free key to use Cloudflare Turnstile. You must create a Cloudflare account by entering your email address and password.
    Sign up for a Cloudflare Turnstile account.
  3. After you create an account, you'll be redirected to the Cloudflare dashboard, where you set up the widget for your site. You'll need to generate a unique pair of keys: a site key and a secret key. In the sidebar, go to Application security → Turnstile (1). Then click Add widget manually (2) to open the Add Widget page.
    Cloudflare Turnstile widgets page with Turnstile in the sidebar marked 1 and the Add widget manually button marked 2.
  4. Enter a Widget name (1) to identify the widget later. Then, under Hostnames, type your site's domain and click Add “yoursite.com” as a custom hostname (2). Pressing Enter doesn't add it. A local test site's hostname, such as mysite.local, works too.
    Cloudflare Add Widget page with the Widget name field marked 1 and the Hostnames field marked 2.
  5. Choose how the Turnstile challenge appears to users. Select the widget mode you want to use on your forms: Managed, Non-interactive, or Invisible. If you're not sure, keep Managed. It's selected by default, and Cloudflare recommends it. Read more on the different Turnstile widget types.
    Cloudflare Widget Mode options with Managed selected.
  6. Choose whether to turn on Skip future security rule challenges for verified visitors. This pre-clearance option only works if your site is proxied through Cloudflare, so leave it off otherwise. Read more on implementing Pre-clearance support. Then click Create to add the widget.
    Cloudflare pre-clearance switch turned off, with an arrow pointing to the Create button.
  7. Cloudflare creates the widget and shows its Site key and Secret key under Integrate the widget yourself. Click a key to copy it. You'll add these keys to Formidable in the next step.
    Cloudflare Integrate the widget yourself panel showing the Site key and Secret key.
  8. Go back to your site and go to Formidable → Global Settings → Captcha/Spam. Under Select captcha type, click Turnstile. Then, in the Turnstile settings section, paste your keys into the Site key and Secret key boxes.
    Select Turnstile in the Global Settings.

    Changing the captcha type replaces it in every form that uses a captcha. The Turnstile settings section stays open until both keys are saved. After that, click Turnstile settings to view or change your keys.
  9. Click Update to save your changes.
  10. Add Turnstile to your form for enhanced spam protection. In the form builder, click Captcha on the Add Fields tab. The new Captcha field shows the Turnstile box. If you are building a multi-paged form, insert the Captcha field on the last page.
    Form builder with Captcha circled on the Add Fields tab and the Captcha field showing the Turnstile box below Name and Email.
  11. Click Update to save your changes. The Captcha field doesn't appear on your live form until you save it.
By default, a submission that fails the Turnstile check is rejected with an error message. To save these submissions as spam entries you can review instead, open Customize how spam submissions are handled on the same page. Then set CAPTCHA errors to Save as a spam entry. Learn more about how to choose what happens to spam.

How to disable Turnstile

Delete the Captcha field from the form builder page to disable Turnstile CAPTCHA. Alternatively, you can visit the Formidable → Global Settings → Captcha/Spam page and remove the Turnstile keys.

Troubleshooting

The CAPTCHA on this form is not set up correctly. Please contact the site administrator.

This message means Cloudflare reported a problem with your Turnstile settings rather than with the visitor, such as a missing or invalid secret key. Enter your site key and secret key again. Both keys must come from the same Turnstile widget.

Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2026 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Complete your purchase
    Don't forget your purchase!
    Complete Purchase
    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms