Skip to content

fieldset

Custom field type

All field types

A set of related fields treated as one value, optionally repeating.

Written as
"Type": "fieldset"
Valid on
Template fields, Datastore schema, and custom site settings
Stores
{{ fieldset }} — the Liquid object a template reads from this field.
Validators
same, not, minitems, maxitems, eq, different
Default value
An object of its child values, or an array of those objects when AllowMultiple is set.

Properties

Accepted in addition to the shared properties every definition carries.

Property Required Description
Fields The fields inside the fieldset, which become the value's properties.
AllowMultiple Stores an array of rows rather than one. A definition that omits it repeats; set it to false for exactly one row.
InitCollapsed Renders rows collapsed on load.
Noun Singular label for one row, used on the add button.