Edit on GitHub
Jump to docs navigation

Field Types / Checkbox field

Note: You are currently reading the documentation for Bolt 3.3. Looking for the documentation for Bolt 3.5 instead?

Simple checkbox input.

Basic Configuration:

        showteaser:
            type: checkbox

Example usage in templates:

{% if record.showteaser %}
    <p>Teaser here ...</p>
{% endif %}

Options:

The field has one option to change the appearance of the field:

  • variant set to inline to show the label next to the field instead of above it.
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.