Comment on page
Cloudflare Turnstile Captcha
Web3Forms supports cloudflare turnstile captcha in our forms.
Heads Up! This is a PRO feature.
You must have an active subscription to use this feature.
- 1.
- 2.Go to Turnstile.
- 3.In the widget overview, select Settings.
- 4.Copy your sitekey and secret key.
To add the Turnstile script:
- 1.Insert the Turnstile script snippet in your HTML’s
<head>
element:
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
To render the Turnstile widget in your form:
- 1.Insert the below code inside your
<form>
tag. Make sure to changeYOUR_SITE_KEY_HERE
with the actual site key.
<div class="cf-turnstile" data-sitekey="YOUR_SITE_KEY_HERE" data-theme="light"></div>
- 1.Visit the Web3Forms Dashboard and select your form.
- 2.Open Settings and choose
turnstile
as your captcha provider - 3.Enter the Secret Key in the Textbox below
- 4.Save Changes
That's it. Your form will automatically be protected with Cloudflare Captcha.
---
To read more detailed guide, visit the official docs here: https://developers.cloudflare.com/turnstile/get-started/
Last modified 6mo ago