Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Form field of type 'honeypot' not invisible

Started by Joachim Liedtke 8 years ago · 1 replies · 1187 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 Ton Haarmans, 6 years ago
13 2083 7 months ago
Forms & Blueprints · by Hugo Oliveira, 8 months ago
0 575 8 months ago
Forms & Blueprints · by Flachy Joe, 9 months ago
9 669 9 months ago
Forms & Blueprints · by Augustus, 9 months ago
7 717 9 months ago
Forms & Blueprints · by Julien, 10 months ago
10 704 10 months ago