From my guess, Turnstile (addon) is used on submission to check score prior to saving entry, is this right?
I want to custom save a new entry on one of the steps of the form, so I’d like to trigger the Turnstile check on the previous steps next button. Is this possible?
Hello. The Cloudflare Turnstile does not provide a score. You can see how Turnstile works in the Cloudflare docs here.
The reCAPTCHA Add-On does provide a score based on Google’s analysis of the visitor’s behavior, but that score is only available after the entry is submitted. I’m not sure how you would trigger that with a custom save somewhere in the middle of the form.
You might be able to use a feed-based add-on like our Akismet Add-On with the Akismet service from Automattic.
With a feed set up, and possibly using the gform_akismet_fields filter to define what fields you want to send to Akismet, you should be able to send the notification when you perform your custom save.
The situation is a bit of a pickle actually. We want to use Turnstile as we’ve found it’s a little more friendly in terms of load speeds and user interference. But whatever platform we use we’ll end up with the same problem - a form that doesn’t fit the standard usage. I think we can call entry save early through a filter and challenge turnstile via curl and use a silent turnstile api key just this form and embed that via a custom method also. I think I just answered my own question. Because we may have to be doing the entry creation, it creates quite a few headaches, including this and standard event tracking… Hoping we don’t need to go down this route…