Skip to content

Checkbox Field

A checkbox field collects any number of options from a fixed list, presented as checkboxes. It suits a short list from which the author may pick several at once. In YAML its type is checkbox-field.

The options are listed under values. Each has a label, and any number may be marked selected as defaults. A checkbox field is multi-valued by nature and does not take multiple in its configuration.

- key: "symptoms"
  type: checkbox-field
  name: "Symptoms"
  values:
  - label: "Fever"
  - label: "Cough"
    selected: true
  - label: "Fatigue"