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


Version: Pro.
Several values from the same source as tablecombo: a MODX class and optionsSource. In the inspector this is a searchable list, not a grid. The data stores valueField values only, not the rows. Without optionsSource the list is empty.
Objects with pagetitle → multirelation. Static list → multiselect.
{
"name": "templates",
"type": "tablemulticombo",
"label": "Templates",
"optionsSource": {
"class": "modTemplate",
"valueField": "id",
"labelField": "templatename",
"limit": 50
},
"tab": "Content",
"width": 100,
"active": true
}Array of valueField values.
Key templates in the section data: array of values:
{
"templates": [3, 5]
}{foreach $templates as $id}
<span>{$id}</span>
{/foreach}{foreach $templates as $id}
<span>{$id}</span>
{/foreach}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–100 | Field width as % of the row (flex) | 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 | bool | Required on publish (draft still saves) | yes |
See fields overview.