Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Form field of type 'honeypot' not invisible

Started by Joachim Liedtke 8 years ago · 1 replies · 1360 views
8 years ago

Hi all,

I was just trying to implement a form field of type 'honeypot' into my contact form. Unfortunately it is rendered like this

<input aria-hidden="true" class="form-honeybear" name="data[honeypot]" value="" type="text">

Because it is of type 'text' it shows up in the contact form, but isn't it supposed to be invisible and therefor should be of type 'hidden'?

Thanks for helping me out.

8 years ago

Interesting! I was going to ask which theme, but I looked at my form with a honeypot and see that the CSS to hide it (visibility:hidden etc) is inline in style attribute, so it's probably theme-independent. Have you customised any of the form plugin's templates?

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 20 hours ago
1 34 14 hours ago
Forms & Blueprints · by TomW, 1 month ago
3 334 4 weeks ago
Forms & Blueprints · by Japhy, 2 months ago
2 560 1 month ago
Forms & Blueprints · by FrViPofm, 2 months ago
5 571 2 months ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2559 9 months ago