Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Turnstile captcha is not registering?

Solved by Karmalakas View solution

Started by AquaL1te 1 year ago · 4 replies · 156 views
1 year ago

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.

[grid]
image|690x151
image|690x293
[/grid]

https://www.zeitgeistbeweging.nl/en/contact

A snippet of my config, it worked with Google:

YAML
        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
last edited 03/26/25 by AquaL1te
1 year ago

@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
last edited 03/26/25 by pamtbaau
1 year ago

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).

1 year ago Solution
YAML
        captcha:
            type: turnstyle
# ...
        turnstyle: true

I believe there's a typo

👍 1
1 year ago

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.

last edited 03/26/25 by AquaL1te

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 80 10 hours ago
General · by pamtbaau, 15 hours ago
1 51 15 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago