PageBuilder
Visual section builder for MODX 3. Draft and publish without overwriting resource content

Version: Pro.
Multiple ids from one xPDO class. Same optionsSource contract as combo. Scalar ids, not pagetitle objects like relation.
Resource objects with titles → multirelation. Fixed list → multiselect.
{
"name": "ids",
"type": "multicombo",
"label": "ID",
"tab": "Content",
"width": 100,
"active": true
}Array of values.
Key ids in the section data: array of values:
{
"ids": [
"admin",
"editor"
]
}{foreach $ids as $id}
<span>{$id|escape}</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.