Skip to content

checkbox

Custom field type

All field types

A single on-or-off choice.

Written as
"Type": "checkbox"
Valid on
Forms, and template fields, Datastore schema, and custom site settings
Stores
{{ checkbox }} — the Liquid object a template reads from this field.
On a form
{{ checkbox_field }} — the control object rendered on a Form. Not the same object as Stores.
Validators
This type carries no validators.
Default value
true or false.