Form control: Checkbox list
The checkboxList
control allows multiple choice selection of pre-defined set of items.
Arguments
values (required) | Either a comma separated list or array of values for the checkboxes |
---|---|
labels (optional) | Either a comma separated list or array of labels that correspond with the values for each checkbox (must be same length as the values list/array). If not supplied, the values will be used for the labels |
Example
<field name="numbers" control="checkboxList" values="1,2,3" labels="One,Two,Three"/>