Skip to content
  1. Extras
  2. PageBuilder
  3. Field types
  4. Free
  5. hidden

Field hidden

Version: Free.

Why this type

Value saves and reaches the chunk. No UI space for editors. Default set in JSON or CMP.

When to use

  • Service token, preset key, analytics id
  • Section constant changed by dev only
  • Default duplicated for front-end forms

Tips

Editors need to see value use readonly. active: false hides any type, hidden is for data-only semantics.

Similar types

  • readonly for visible non-editable
  • text with active false for CMP toggle

Schema

json
{
  "name": "token",
  "type": "hidden",
  "label": "Token",
  "tab": "Content",
  "width": 100
}

Value

String in the section data, not shown visually in the form.

Section data

Key token in the section data:

json
{
  "token": "sku-001"
}

Chunk example

html
<input type="hidden" name="token" value="{$token|escape}">

Common properties

For fields with name that are stored in the section data:

KeyTypeRoleCMP
tabstringGroup subtitle in the inspectoryes
width25–100Field width as % of the row (flex)yes
descriptionstringHint under the labelyes
defaultanyInitial value for a new sectionyes
activeboolfalse hides the field in the inspectoryes
requiredboolRequired on publish (draft still saves)yes
  • The field is hidden in the UI; active: false also hides any field type.

See fields overview.

See also