Skip to main content

betaThis is a new capability. Help us improve it and give your feedback on Slack.

Page

The default page type. Displays a set of components and advances to the next page on submission. Omit the controller property to use this page type.

Controller value:
omit the controller property, or use "PageController"

JSON definition

{
"path": "/page-path",
"title": "Page title",
"components": []
}

Configuration

PropertyTypeRequiredDescription
componentsComponentDef[]YesArray of component definitions rendered on the page.
conditionstringNoName of a condition that controls whether this page is shown.
controllerControllerType.PageNoThe page controller class name. Omit or use "PageController" for the default question page.
eventsEventsNoLifecycle hooks that fire when the page is loaded or saved.
idstringNoStable identifier for the page, used internally by the form engine.
pathstringYesURL path segment for the page (e.g. /details).
sectionstringNoName of a section that groups this page in the form.
titlestringYesHeading displayed to the user at the top of the page.
viewstringNoName of an alternative view template to render for this page.