A page represents a collection of fields, grouped by rows. For single-page forms, there will always be a single page. Whenever you're dealing with a page in your template, you're actually working with a Page
object.
Attribute | Description |
label | The label of the page. |
handle | The handle of the page, automatically derived from the label . |
sortOrder | The order of the page. |
settings | Settings for the page. |
Method | Description |
getRows() | Returns an array of Row objects for this page. |
getCustomFields() | Returns an array of Field objects for this page. |
Attribute | Description |
submitButtonLabel | The label for the submit button. |
backButtonLabel | The label for the back button, for multi-page forms. |
showBackButton | Whether to show the back button, for multi-page forms. |
buttonsPosition | How to position the submit button(s). Valid values are left , right , center , left-right . |