When I set up CLOUDFLAREs turnstile, in CLOUDFLARE, after setting up, I was presented with instructions for server side and client side verifications.
At that point, I was going to cry, because there were dozens code snippets we had to implement to make it work.
I then checked the forms documentation, and for both Gravity Forms and Formidable Forms, in their drag and drop builder for the form, there is a CLOUDFLARE widget, and that is all you need to do.
Because the instructions provided by CLOUDFLARE for the set up and validation are above my pay grade in terms of being able to implement them.
And Yet again, you have AI that misleads you telling you that you do need to implement those steps and made it even more complicated.
So I just wanted to share for anyone who is using it with Gravity or Formidable Forms, you don't need to do anything besides copying the secret key from Cloudflare and dragging and dropping the turnstile widget. Just be aware that if you chose the invisible validation method, it will not show up on your form once it is published. Yet it will work.

This plugin adds Turnstile to a bunch of places, including forms created by popular plugins.
[https://wordpress.org/plugins/simple-cloudflare-turnstile/](https://wordpress.org/plugins/simple-cloudflare-turnstile/)