Docs Special fields

Special fields

Reserved field names that control how a submission is handled.

A few field names starting with an underscore change Formy's behaviour instead of being stored as visible data:

HTML
<!-- override the notification email subject -->
<input type="hidden" name="_subject" value="New enquiry from the pricing page" />

<!-- set the reply-to address explicitly -->
<input type="email" name="_replyto" />

<!-- honeypot: any value here marks the submission as spam -->
<input type="text" name="_gotcha" style="display:none" />

<!-- per-submission redirect override -->
<input type="hidden" name="_next" value="https://your-site.com/thanks" />
  • _subject — overrides the email subject for that submission. A default subject can also be set per form under Notifications.
  • _replyto (or a plain email field) — used as the reply-to on notification emails and as the recipient for autoresponses.
  • _gotcha — honeypot. Leave it hidden and empty; bots that fill it are quietly marked as spam.
  • _next — overrides the success redirect for that submission. For safety it's only honoured when the URL's host matches your form's allowed domains or the host of a redirect URL you've configured — otherwise it's ignored.

Default success and error redirect URLs are configured per form under Settings.