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

Version: Free.
Clear on/off without radio or checkbox. Same boolean in data as yesno. Good for frequent mode toggles.
Classic MODX yes/no use yesno. Value is still boolean, not a string.
{
"name": "enabled",
"type": "toggle",
"label": "Enabled",
"tab": "Content",
"width": 100,
"active": true
}Boolean.
Key enabled in the section data:
{
"enabled": true
}{if $enabled}<div class="block is-enabled">…</div>{/if}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.