Skip to main content

Forms

Micropage includes built-in form handling. No custom backend or third-party service is required.

Markup

Add a form to any page section:

form: Contact

input: Name*
input: Email*
textarea: Message

submit: Send

Fields ending in * are required. The form name (e.g. Contact) is used to identify submissions.

Supported field types

ElementDescription
input:Single-line text field
textarea:Multi-line text field
select:Dropdown
checkboxes:Multiple choice
radios:Single choice
submit:Submit button

Spam protection

Forms include:

  • a hidden honeypot field
  • server-side schema validation (only fields defined in markup are accepted)

Using the Web App

Add a form block in the Edit tab and publish. Submissions appear in the Form Submissions tab automatically.

Using the CLI

View submissions:

micropage submissions list

Show a single submission:

micropage submissions show <id>

Limits

Free accounts have a submission limit per project. Paid plans have higher limits.