Forms

A static site has no server to receive a form. MicroHost can be that server: when you upload a site with a <form> in it, the upload steps ask where its messages should go, and from then on each message is emailed to you.

Set it up

  1. Upload the site. If it has a form, a Forms step appears.
  2. Enter the address messages should go to, and a subject line if you want your own. Your account’s address works at once; any other address gets one email with a link to confirm it, and messages wait until it does.
  3. Publish. The form now works on the live site.

You can change the address, the subject, or turn a form off later on the site’s page, under Forms. That takes effect at once, with no new upload. The same page lists the latest messages for 30 days.

What the email looks like

Every message is sent from MicroHost’s own address, never from the visitor’s, so it passes spam checks. If the form has a field named email, replying to the message writes to the visitor.

What the form needs

A plain HTML form with a name on each field. Give the form an id so its settings follow it when you upload a new version. Ask Claude for one like this:

Make the contact form a plain HTML form: `<form id="contact">` with no `action`, a `name` on every field, a field named `email` for the visitor's address, and a normal submit button. No JavaScript should handle the submit.

  • A form that already posts to another service (its action is a full link) is left as it is.
  • A form with a password field is never connected.
  • File upload fields are ignored; the rest of the form is sent.
  • A form sent by JavaScript works too: post to the form’s own action with Accept: application/json and you get { "ok": true } back.

After sending

The visitor sees a short thank-you page with a link back to your site. To use your own, set a Thank-you page link in the form’s settings.

Spam

Each connected form gets a hidden field named _gotcha that people never see and bots fill in; those messages are dropped. One address can send 10 messages an hour to a form.

Limits

Forms are on every paid plan. The Free plan doesn’t collect submissions.

  • Starter: 10 forms per site, 100 messages a month across your sites.
  • Pro: 25 forms per site, 1,000 messages a month across your sites.
  • Business: 25 forms per site, 5,000 messages a month across your sites.

At the limit, visitors are told the form cannot take more messages this month, and you get one email saying so.