Cloudflare Invisible Turnstile Field Empty (error log) [RESOLVED]

Our Cloudflare Invisible Turnstile has stopped working recently and I’m wondering if anyone has insight into this error:

2026-01-14 10:02:31.798497 - DEBUG → GF_Field_Turnstile::validate(): Beginning Turnstile field validation with value:
2026-01-14 10:02:31.798613 - DEBUG → GF_Field_Turnstile::validate(): Turnstile field was empty, failing validation.

Is this a generic error for when Cloudflare fails validation? Is there some direction I can be pointed to troubleshoot it?

This has been solved. A little bit of background: We set our fields to use flexbox css. This causes the invisible cloudflare turnstile to still show space visually (due to flex). Therefore we used display:none to hide that space. This breaks the turnstile validation. Here is the CSS I used to hide the field:

.gfield–type-turnstile {
position: absolute;
left: -9999px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}

This works with the cloudflare turnstile.

1 Like