Skip to Content
GuidesSetting Up Spam Protection

Setting Up Spam Protection

Available on all plans. See pricing.

This guide walks through configuring all of Formtorch’s spam protection layers on a form, from basic to advanced.

Step 1: Enable the honeypot

The honeypot catches basic bots with zero friction for real users. Enable it first on every form.

Open form spam settings

In the dashboard , go to your form → Settings → Spam Protection and toggle Honeypot on.

Add the hidden field to your HTML

<input type="text" name="_honeypot" style="display:none" tabindex="-1" autocomplete="off" />

Place this inside your <form> tag. Real users never see it. Bots that fill every field get caught automatically.

Step 2: Review TorchWarden detections

TorchWarden runs on every submission automatically — no configuration required. Starter and Pro plans get the full detection suite; Free gets basic protection.

Check Submissions in your dashboard. Spam submissions show a red Spam badge.

Step 3: Add domain restriction

If your form is embedded on a known domain, restrict submissions to that origin:

Open the Allowed Domains card

Go to your form, then Settings and the Allowed Domains card.

Add your domains

Enter your production domain (for example yoursite.com). Matching is exact, so add www.yoursite.com too if visitors use it, plus any staging domain.

Turn it on and save

Only submissions from browsers on the listed websites are accepted. Requests from other websites, or without an Origin or Referer header (such as server-side code), receive a 403 Forbidden.

During local development, add localhost to the allowed domains list temporarily. Test submissions (_test=true) are checked like any other submission. Domain restriction filters browser traffic; it isn’t authentication.

Step 4: Add CAPTCHA

CAPTCHA is a heavier layer for forms under active bot pressure. Cloudflare Turnstile, hCaptcha, and reCAPTCHA v3 are available on all plans.

For step-by-step setup, see CAPTCHA Integration and choose your provider.

Verify it’s working

After enabling protection:

  1. Submit your form normally — it should succeed
  2. Manually fill in the honeypot field and submit — the submission should appear with a Spam badge in the dashboard
  3. Check the Spam Score column to confirm signals are firing as expected

Learn more

Last updated on