Form

Content blocks

Form

A capture form for landing pages (Page builder).

Options#

  • A layout of labelled fields for a page design
  • Button label and styling

What the output contains

The Form block exports the same markup in an email, a page and a popup: a bordered box with the headline, a field-shaped box that shows the placeholder, and a button-shaped label. It is drawn with plain div elements. There is no <form>, <input> or submit action, so nothing is posted when someone clicks it.

Values and defaults

  • headline "Join the waitlist", field_placeholder "name@example.com", button_label "Notify me".
  • button_color #14213d, button_text_color #ffffff.
  • background_color #ffffff, border_color #d9dce5, padding 18, border_radius 18.

Collecting entries

To collect real sign-ups, link a Button to a form you host. A <form> pasted into an HTML block does not help either: the renderer removes form elements, with their contents, unless you render with sanitize: false.