Skip to content
SubmitYourForm

Guides

Validation & spam

Field rules, honeypots and captchas.

Field rules

In your form's Settings → Fields & validation you can describe each field: type (email, phone, number, URL, date, select, checkbox, text), required, length, number range, a pattern, and allowed options. Then choose a mode:

Mode Effect
Off Rules are ignored.
Warn Submissions are accepted; problems are shown on the submission and returned in a warnings list in the JSON response (same shape as fields below).
Enforce Invalid submissions are rejected with HTTP 422 and code VALIDATION_FAILED.

A rejected JSON request lists every problem:

{ "ok": false, "error": { "code": "VALIDATION_FAILED", "message": "Some fields are missing or invalid.",
  "fields": [ { "field": "email", "code": "type", "message": "Email must be a valid email address." } ] } }

Spam protection

  • Honeypot: add <input type="text" name="_honeypot" tabindex="-1" autocomplete="off" style="display:none">. People never see it; anything that fills it is filed as spam, and the sender still sees a normal success response.
  • Captcha (hCaptcha on every plan; reCAPTCHA v3 and Cloudflare Turnstile from Growth): pick one in your form's Settings → Spam & security and add the provider's widget. The token fields (h-captcha-response, g-recaptcha-response, cf-turnstile-response) are checked and never stored.
  • Spam scoring and blocklists run on every submission. Spam is kept in the Spam folder for review and isn't delivered.
  • Rate limits per IP address and form, and per workspace, stop floods (RATE_LIMITED; see Rate limits).
  • Domain lock (paid plans): in Settings → Spam & security list the domains your form lives on; posts from anywhere else are refused with DOMAIN_NOT_ALLOWED.
  • Spam and test submissions don't count towards your monthly limit.