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 · 1343 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 TomW, 3 weeks ago
3 246 3 weeks ago
Forms & Blueprints · by Japhy, 1 month ago
2 500 4 weeks ago
Forms & Blueprints · by FrViPofm, 2 months ago
5 503 2 months ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2497 9 months ago
Forms & Blueprints · by Hugo Oliveira, 10 months ago
0 941 10 months ago