Checkbox

Checkbox

Form Field

The checkbox field renders a single checkbox.

show_content:
    type: checkbox
    label: Display content

The following properties are supported.

Property Description
default a default value to use for new records.
comment text to display below the checkbox.

You may use the default property to check the checkbox by default.

show_content:
    type: checkbox
    label: Display content
    default: true

Use the comment to display some accompanying text.

is_active:
    type: checkbox
    label: Active
    comment: Check this box to make the record active.
On This Page