Naming your fields

Name your fields however you like: each one is forwarded with its name turned into a readable label, so your_message shows up as "Your message". Fields come in the same order as in your form.

A few names do a bit more:

The name containsWhat it does
email or mailBecomes the reply address of the email we send you: hit reply, and you're writing to your visitor. It also enables the Reply button in your dashboard.
nameAdds your visitor's name to that reply address, like "Jane Cooper <[email protected]>".
message, comment or descriptionUsed as the preview of the message in your dashboard.

Names are matched regardless of case, and the first matching field wins. So email, Email and your_email all work, but in a form with both company_name and name, put the visitor's name first.

Without an email field, replying to our email goes to an address that doesn't read its mail. To be sure you can always answer, use an email field and make it required:

<input type="email" name="email" required />

Good to know

  • Fields without a name attribute aren't sent by browsers, and neither are disabled fields.
  • Unchecked checkboxes aren't sent either. For a group of checkboxes, see Grouped and multiple-choice fields.
  • Captcha fields (h-captcha-response and g-recaptcha-response) are checked, then removed from your messages. See Blocking spam with a captcha.

Next: Receiving files