Hi,
Cloudflare recently released their form protection tool, Turnstile.
To use it one needs to add a div to the form (and a js script in the header)
<div class="cf-turnstile" data-sitekey="<YOUR_SITE_KEY>"></div>
Any ideas?
Hi,
Cloudflare recently released their form protection tool, Turnstile.
To use it one needs to add a div to the form (and a js script in the header)
<div class="cf-turnstile" data-sitekey="<YOUR_SITE_KEY>"></div>
Any ideas?
Hi @xamax curious - did you get this working?
Hi @robertobze,
No! But I did not explore more. I think that maybe by using the server side approach of turnstile and a custom form action it should work.
Maybe I’ll try in the coming days and post here if I manage to make it work.
This solution seems to be working for me. Would be great to double check. I added the script in custom code, and the function in child theme functions.php
Thank you!
I’ll give it a try.
Thank you, I am going to give it a try. I will response if it work for me.
What needs to be done so that the script will work for regular Bricks forms?
It looks like the script is tailored for post comments.
You can check it out here - have tried to answer:
Can we get an option for “silent mode” turnstile, so that it only displays the challenge hidden unless escalation is needed? Having the form on our homepage is what we want, and we want turnstile, but we don’t want to display the turnstil visibly unless cloudflare needs it. Turnstil does offer a silent mode: Widget types · Cloudflare Turnstile docs