Skip to content

Split a form into steps

Show a long form one step at a time, with Next and Back buttons and a step count, and send it once at the end.

2 min readENFRNLDE
On this page 2 sections

A long form is easier to fill in when it is split up. In a form in steps, visitors see one step at a time, move with Next and Back, and the form is sent once, from the last step.

Make the steps

  1. Build the form with one frame for each group of fields, such as "Your details" and "Your order". Each frame goes directly inside the form.
  2. Select one of these frames. In the Form section of Properties, turn on A step of the form. Do the same for the others.
  3. With two or more steps, the section says how many there are ("2 steps, shown one at a time in layer order.") and offers Add Next and Back buttons. It gives each step the buttons it lacks: a filled Next on every step but the last, and an outlined Back on every step but the first. Style them like any other layer.

Layers of the form that aren't steps, such as a heading, show on every step. A Next or Back button only works inside a form.

What visitors see

  • Only the current step shows, with a line such as "Step 2 of 3" in the page's language. Screen readers hear the change.
  • Next checks the fields of the current step first. If one is missing or wrong, the visitor stays on that step and the browser says what to fix. Otherwise the next step opens.
  • Pressing Enter on any step before the last works as Next. Nothing is sent until the last step is valid.
  • If the form can't accept a field after sending, the visitor goes back to the step that holds it.
  • Without JavaScript, every step shows with the send button, and the form is sent whole.

On the canvas every step shows, so you can edit them all. They show one at a time on the published site.

You can also ask the AI to split a form into steps.