Hatch

Forms on published sites

On this page

Put a form block in any published note. On a site hosted by a Hatch server, it becomes a form. Each response comes into your vault as a private note.

```form
title: Get in touch
folder: Leads
fields:
  - Name*
  - Email (email)*
  - Topic (Sales | Support | Press)
  - Message (long)
  - Keep me posted (checkbox)
button: Send message
thanks: Thanks. We'll reply within a day.
```

Fields

  • Name is a one-line text box.
  • A * makes a field required.
  • (long) is a big text box.
  • (email) checks that it's an email address.
  • (checkbox) is a tick box.
  • (A | B | C) is a list to choose from. Anything else in brackets stays part of the label.

Where the form sits

Add align to place the form in the page. It works the same in the note's preview and on your site.

  • align: left is the default. The form is up to 480px wide, on the left.
  • align: center puts it in the middle.
  • align: right puts it on the right.
  • align: full makes it as wide as the text.

Where responses go

  • Responses wait on the server until Hatch brings them in, every 10 minutes while the app is open, or with "Bring in form responses and applications".
  • Each one becomes a note in folder, with publish: false, so it never ends up on your site by accident.
  • The first text answer is the note's title. Choices, emails and tick boxes become properties, so you can open the folder as a board and group by them. Long answers become sections.
  • Everything a visitor typed comes in as plain text. It can't add links, tags or tasks to your vault.

Limits

  • 30 responses an hour from one network, and 300 a day per site (HATCH_MAX_SUBMISSIONS_PER_DAY).
  • Responses count toward your storage, along with your sites.