
PageBuilder
Visual section builder for MODX 3: draft and publish without overwriting resource content
- MODX 3
- PHP 8.2
- Vue 3


Version: Free.
The value is saved and reaches the chunk. The inspector shows only an input type="hidden", with no label and no field wrapper. The default is set in JSON or in the manager. active: false removes the field entirely.
Editors need to see the value: use readonly. active: false hides any type. Use hidden when the value belongs in the data only.
active: false if the value is toggled in the CMP{
"name": "token",
"type": "hidden",
"label": "Token",
"tab": "Content",
"width": 100
}String in the section data.
{
"token": "sku-001"
}<input type="hidden" name="token" value="[[+token]]"><input type="hidden" name="token" value="{$token|escape}">For fields with name that are stored in the section data:
| Key | Type | Role | CMP |
|---|---|---|---|
tab | string | Group subtitle in the inspector | yes |
width | 25, 33, 50, 66, 75, 100 | Field width as % of the row (flex). The CMP offers only these values | yes |
description | string | Hint under the label | yes |
default | any | Initial value for a new section | yes |
active | bool | false hides the field in the inspector | yes |
required | — | For hidden, the publish required check does not run | — |
The inspector does not draw the label, width, or description for this type. tab still groups the field with its neighbors.
See fields overview.