Platforms / HTML

Contact form for HTML — no backend required

Static HTML has no server. FormHeron is the server.

Setup

  1. Create a FormHeron form.
  2. Copy the HTML snippet from the dashboard or below.
  3. Replace YOUR_KEY.
  4. Upload to any static host.

Working example

contact.html
<form action="https://formheron.com/f/YOUR_KEY" method="POST">
  <label>
    Email
    <input type="email" name="email" required />
  </label>
  <label>
    Message
    <textarea name="message" required></textarea>
  </label>
  <!-- honeypot: off-screen, not type=hidden -->
  <input type="text" name="_hp" tabindex="-1" autocomplete="off"
         aria-hidden="true" style="position:absolute;left:-9999px" />
  <button type="submit">Send</button>
</form>

Common problems

mailto: forms

Replace them. mailto: leaks addresses and fails on many devices.

PHP mail() hosts

You do not need PHP when the action points at FormHeron.

Styling

Style freely — FormHeron only cares about field names and the action URL.

FAQ

How do I make an HTML contact form without PHP?

Set action to https://formheron.com/f/YOUR_KEY and method to POST.

What is the honeypot for?

Bots fill hidden fields. Humans leave _hp empty. Filled honeypots are stored as spam and never email you.

Can I use file inputs?

No — FormHeron rejects multipart uploads. Keep text fields only.

Related platforms