Turnstile captcha is not registering?

I’ve configured it this morning. But I don’t know if it really works. I’ve set it to “managed”, which may need interaction. I’ve used my form 3 times, but it doesn’t show up in the statistics yet. It may take some time. But It’s been 3 hours.

A snippet of my config, it worked with Google:

        captcha:
            type: turnstyle
#        g-recaptcha-response:
#            label: Captcha
#            type: captcha
#            recaptcha_not_validated: 'Captcha not valid!'
    buttons:
        submit:
            type: submit
            value: Send
        reset:
            type: reset
            value: Reset
    process:
        turnstyle: true
#        captcha: true
        dns-blacklist: true

@AquaL1te, Cloudflare Turnstile libs are not loaded in the the page of your link…

  • Are you using a cdn to host your site which might not have been updated yet?
  • Or is turnstile not yet properly working on your form?
  • By the way, you didn’t mention you configured the keys in form.yaml

I use Forms version v7.4.2 on Grav 1.7.48. I don’t use a CDN. I have setup the secret key and site key for Forms through the admin panel. I can confirm that the config/plugins/form.yaml also has these keys set. I also cleared the Grav cache (option for clearing all cache).

        captcha:
            type: turnstyle
# ...
        turnstyle: true

I believe there’s a typo

1 Like

That was indeed it! Thanks for spotting that. It also shows up in the Cloudflare dashboard now. I’ve set it to invisible now and see how well that works.