Honeypot Spam Filter

Honeypot Spam Filter

This is a spam filtering technique where we put a hidden field into the form. A human can’t see it and it’s not required.

<!--We use the following to tell netlify what we are doing and what field is the honeypot-->
     <form class="form-template-v3" method="POST" netlify-honeypot="bot-field" data-netlify="true">
<!--This is the field. -->
          <p class="hidden" style="display:none">
            <label>Don’t fill this out if you're human: <input name="bot-field" /></label>
          </p>

The honeypot form result

However a bot WILL fill it in. Then we know it’s spam.

The honeypot form result

It’s a lot eaiser on the user than using a captcha.