Add a honeypot field

Add a hidden input to a form on your site and review any submissions it catches.

Put a hidden text field inside your form

Wiztrom hosted forms and HTML or React exports already have this field. If you built the form yourself, put the following markup inside your existing form. Keep the name _wiztrom_hp and leave the value empty.

HTML
<div hidden>
  <input name="_wiztrom_hp" tabindex="-1" autocomplete="off">
</div>

Keep the field in JavaScript submissions

If you submit with new FormData(form), the field travels with the rest of the form. If you build a JSON object, copy the actual value from the browser. Server-to-server submissions without a browser form can omit this field.

JavaScript
const fields = new FormData(form);
const payload = {
  email: fields.get('email'),
  message: fields.get('message'),
  _wiztrom_hp: fields.get('_wiztrom_hp') ?? ''
};

Check Spam and the report

Send one normal test from your published form to confirm it reaches Inbox. On a test form, a filled honeypot can receive a 202 acknowledgement without a normal receipt ID. Open Spam to review the held item. Open Spam protection on the form to see the held count, which includes items you have already approved or deleted.