Add a honeypot field to an HTML form
Catch bots silently without a CAPTCHA — a hidden field bots fill and humans don't see.
- 1
Add a hidden input
Add `<input type='text' name='botcheck' style='display:none' tabindex='-1' autocomplete='off' />` to your form.
- 2
Don't send it on purpose
Legitimate browsers leave the field blank. Bots fill it because they parse the DOM.
- 3
FormLoom reads it automatically
FormLoom's submission handler checks for a filled `botcheck` field and silently accepts but flags those submissions.
example.html
<form action="https://api.formloom.ai/submit/YOUR_ACCESS_KEY" method="POST">
<!-- Honeypot: bots fill this, humans don't see it -->
<input type="text" name="botcheck"
style="display:none" tabindex="-1" autocomplete="off" />
<input type="email" name="email" required />
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>FAQ
Yes — CSS-hidden fields are checked by most form-spamming bots. Pair it with AI spam scoring for coverage against smarter bots.