---
title: How to Add Cloudflare Captcha in Simple Form – Secure Your WordPress Forms
description: "## Table of Contents - [🎯 Introduction](#🎯-introduction) - [⚙️ Step 1: Get Cloudflare Site Key & Secret Key](#⚙️-step-1-get-cloudflare-site-key-secret-key) - [⚙️ Step 2: Add Keys in Simple Form Settings](#⚙️-step-2-add-keys-in-simple-form-settings) - [🧩 Step 3: Add Captcha Field to Your Form](#🧩-step-3-add-captcha-field-to-your-form) - [💾…"
url: "https://wpazleen.com/docs/add-cloudflare-captcha-simple-form/"
updated: "2026-03-12"
category: Simple Form
---

# How to Add Cloudflare Captcha in Simple Form – Secure Your WordPress Forms

## Table of Contents

- [🎯 Introduction](#🎯-introduction)
- [⚙️ Step 1: Get Cloudflare Site Key & Secret Key](#⚙️-step-1-get-cloudflare-site-key-secret-key)
- [⚙️ Step 2: Add Keys in Simple Form Settings](#⚙️-step-2-add-keys-in-simple-form-settings)
- [🧩 Step 3: Add Captcha Field to Your Form](#🧩-step-3-add-captcha-field-to-your-form)
- [💾 Step 4: Add Form Shortcode to Page](#💾-step-4-add-form-shortcode-to-page)
- [✅ Summary](#✅-summary)

## 🎯 Introduction

Spam submissions can flood your inbox and hurt your website’s performance.
Thankfully, **[Simple Form](https://wpazleen.com/simple-form) by wpazleen** lets you easily **add Cloudflare Captcha in [Simple Form](https://wordpress.org/plugins/simple-form/)** to protect your forms from bots.

---

## ⚙️ Step 1: Get Cloudflare Site Key & Secret Key

1. Visit [Cloudflare Turnstile Captcha](https://dash.cloudflare.com/?to=/:account/turnstile)
2. Log in and generate your **Site Key** and **Secret Key**.
3. Click Add widget -> Set Widget name,
4. Click Add Hostnames and set your domain ex. ~~https:/~~/ **wpazleen.com** without ~~https:/~~
5. Click add and then you will be given both site and secreate keys
6. Copy both keys for later use.

![Add Cloudflare Captcha in Simple Form](https://wpazleen.com/wp-content/uploads/2025/11/image-2-1024x436.png)

---

![](https://wpazleen.com/wp-content/uploads/2025/11/image-3-1024x632.png)

## ⚙️ Step 2: Add Keys in Simple Form Settings

1. In your WordPress dashboard, go to **Simple Form → Settings → Captcha Tab.**
2. Click **“Click here to get your Site Key and Secret Key.”**
3. Paste your Cloudflare keys in the corresponding fields.
4. Click **Save Changes.**

---

## 🧩 Step 3: Add Captcha Field to Your Form

1. Go to your **Form Editor**.
2. From **Available Fields**, drag the **Captcha** field into your form.
3. Click the **pen icon** to edit it.

Inside the edit modal:

- Add your **Site Key** (if not prefilled).
- Choose **Widget Theme** (Light or Dark).
- Enable **Button Access.**
- Set a **Custom Error Message.**

Click **Update Form** when done.

---

## 💾 Step 4: Add Form Shortcode to Page

Copy your shortcode from the top of the form editor:

```
[simple_form id="3"]
```

Place it inside a Gutenberg block, Elementor widget, or template file.

---

## ✅ Summary

Adding **Cloudflare Captcha in [Simple Form](https://wordpress.org/plugins/simple-form/)** keeps your site secure and eliminates bot submissions effortlessly.
Combine it with email notifications and conditional logic for the most secure form experience.
