Multi-Page Forms
Multi-page forms are a Forms Pro feature. When a form has more than one page, Easy Forms renders one step per page. There is nothing to enable:
{{ easyform handle="application" }}Each page is validated and saved when the visitor moves on, so Statamic's page logic and partial submissions work as they do with its own form tag.
What is supported
- Page logic: the next page is the one Statamic answers with, so pages can be skipped.
- Page headings and instructions: shown at the top of each step.
- Button labels: the page's button label and previous button label are used. The previous button only shows on pages where it is enabled in the form builder.
- Sections: render as fieldsets inside the page.
- reCAPTCHA: verified once, on the last page.
- Precognition: add
precognition="true"to validate fields as the visitor fills them in.
Rate limits
Statamic accepts 10 form posts per minute from one IP address, and every page counts as one. Visitors who reach the limit see a message asking them to wait.
One copy per page
Show a multi-page form only once on a page, even with the instance parameter. Statamic keeps one partial submission per form in the visitor's session, so two copies of the form would overwrite each other's answers.
Multi-page or wizard?
Wizard mode splits a form by its sections and sends everything at the end. It doesn't need Forms Pro. The wizard parameter is ignored on forms with more than one page.
Without Forms Pro, the pages of a form collapse into its sections and the form renders as a regular form.
TIP
Reloading the page starts the form again on the first page.