- Home
-
Store
- Browse All
- Buy Dedicated Servers
- Buy Shared Hosting
- Buy Reseller Hosting
- Buy Optimized Wordpress
- Buy Optimized Joomla!
- Buy Elasticsite Hosting
- Shared Hosting
- Shared Cloud Hosting
- Reseller Hosting
- Optimized WP or Joomla Hosting
- Managed Dedicated Cloud Hosting
- Imunify360
- Logo Design Service
- Node Ping Monitoring
- Content Support
- eM Client
- NextCloud Storage Share
- 040Pro Services
- SEO Tools
- VPN
- Professional Email
- Site & Server Monitoring
- SocialBee
- Register a New Domain
- Transfer Domains to Us
- Announcements
- Knowledgebase
- Network Status
- Contact Us
-
More
Cloudflare Turnstile for Divi5 Contact Forms ( last version 2.0.2 )
Cloudflare Turnstile for Divi5 Contact Forms
A lightweight, privacy-friendly replacement for Google reCAPTCHA — built to work seamlessly with the standard Divi contact form module.
This script integrates Cloudflare Turnstile into your Divi5 form, adding bot protection without relying on Google's tracking or heavy scripts.
Features:
- Works with the native Divi5 contact form (no extra plugins required)
- Tested and confirmed to work with Divi 5
- 100% free to use — both the script and Cloudflare Turnstile
- Lightweight and privacy-respecting (no user tracking) (loggin is available but can be disabled)
- Simple setup using your Cloudflare site and secret keys
- Invisible mode when possible (including test mode see settings screen)
Requirements:
- A free Cloudflare account
- Active Divi5 theme (Elegant Themes)
Disclaimer
- This script is provided as-is and without any warranty or liability.
- While it has been tested and confirmed to work under standard configurations, results may vary depending on your WordPress setup, Divi version, or customizations. By downloading or using this script, you agree that 040Hosting and its developers are not responsible for any issues, damages, or losses arising from its use or misuse. Support is not included, but you are free to modify and adapt the script for your own use.
Please do not republish or redistribute this script without including a clear link to 040Hosting.eu as the original source.
Versions as from 2.0.0 DIVI5 version:
2.0.2
The note about Cloudflare console errors is removed from the debug label. It now appears only on the settings page and once in the browser console in debug mode.
2.0.1
Added a “Console errors you can ignore” note. It explains the harmless data:, CSP errors that come from Cloudflare’s own Turnstile iframe.
2.0.0
- Rewritten for Divi 5 only. Divi 4 support is dropped.
- Fixed conflicts with other plugins such as 040ticket. The plugin no longer overrides jQuery’s $.ajax site-wide.
- Removed jQuery dependency and all global overrides.
- Fixed the “API not loaded” console errors that repeated every half second.
- Scripts load only on pages with a contact form, and never in the Visual Builder. Cloudflare’s script loads once and is reused if already present.
- New background mode (default): the widget only appears if Cloudflare needs interaction. Forms submit automatically after the check.
- Blocked submissions show an error in the form instead of an alert() popup or a “die” page, and no email is sent.
- New test mode using Cloudflare test keys, for logged-in admins only, with an admin bar indicator.
- New log of the last 100 passed and blocked submissions, with counters.
- New “Test connection and secret key” button.
- New X-Divi-Turnstile response header and a debug label (also via ?turnstile_debug=1).
- Existing keys and settings are kept on upgrade.
Love our plugin? maybe you also love our hosting at https://040hosting.eu ?
Don't love our plugin? Let us know why.