checkbox Properties

Represents a single true/false value

Field Type Description
object_type string Will always be "checkbox".
is_valid True|False Indicates whether or not this references a checkbox.
value string The value saved in the field. For checkbox fields you do not typically care about this - use checked instead.
output html "yes"/"no".
output_in_list html Same as output.
field_id string The identifier for this field.
default_value string The default value for this field if no value is specified.
checked true/false True if the checkbox was checked.


Checkbox Include Partial Template


Show Sidebar? {{ page.show_sidebar }}

{% if page.show_sidebar.checked %} {% include "Sidebar" %} {% endif %}