Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Honeypot field for an input field?


Level 5


We have a simple input field with a send button. For the input field we implement some validation and when the criteria are met we send the received input to an email address using a POST request.

My question is do we need to generate a honeypot field for this and what would be the benefit of doing that?

<span class="c-field__wrap">
<input placeholder="" type="text" class="c-field__input">
<span class="c-field__label">${'voteTeaser:feedback.input.label' @ i18n}</span>
<span class="c-field__decoration"></span>
<div class="l-grid__cell l-grid__cell--1/1 l-grid__cell--align-right">
<button data-vote-teaser-button-send class="c-button c-button--secondary">
<span class="c-button__label">${'voteTeaser:button.send' @ i18n}</span>

1 Reply


Community Advisor

@anasustic A honeypot is a field added to the form that the users can’t see due to CSS or JavaScript (which hides the field). It depends on your use case and frequency of sending details to emails using the input field. Implementing Honeypot will block spammers and bots that could attack your website forms.



Honeypot is an old way to avoid spams by adding a tricky field in your form, but now hackers are quite smart, so it's observed that honeypots are not much effective.

Rather, it's advised to use Captcha with client-side and server-side validation.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now