
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: optionsSource or a static options list. In the inspector this is a searchable list, not a grid. The data stores valueField values only, not the rows.
The list is empty only when both options and optionsSource are missing. A non-empty static options is used first.
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]
}<span>[[+templates.0]]</span>{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, 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 | bool | Required on publish (draft still saves) | yes |
See fields overview.