Reference

Page

A Page object represents one page in a form. Single-page forms still have a page object; multi-page forms just make the page sequence more visible.

For a saved form with the handle contactForm, retrieve its pages and inspect their labels in Twig:

{% set form = craft.formie.forms({ handle: 'contactForm' }).one() %}
{% if form %}
    {% for page in form.getPages() %}
        <h2>{{ page.label }}</h2>
    {% endfor %}
{% endif %}

Each loop item is a Page. Use its methods below when you need the fields or conditions belonging to that page.

Properties

label

The page label.

handle

The page handle, derived from the label.

sortOrder

The page order within the form.

settings

The page settings, including page button labels and layout options.

Methods

getRows()

Returns the row objects on this page.

getFields()

Returns the Field objects on this page.

getFieldByHandle()

Returns the field on this page with the handle you pass, such as page.getFieldByHandle('email'), or null when there isn’t one.

isConditionallyHidden()

Returns whether conditions hide the page for the submission you pass, such as page.isConditionallyHidden(submission).

hasConditions()

Returns whether the page has conditions configured.

getConditions()

Returns the page conditions.

getBrowserConditions()

Returns the conditions in the shape used by Formie’s front-end handling.

getFieldErrors()

Returns the field errors on this page for the submission you pass, such as page.getFieldErrors(submission). The submission can be null.

Last updated: Nov 13, 2026, 3:14:23 PM