field.checkbox-group

Adds a group of checkboxes for selecting independent answer options. This is useful if there are several options. You can add just one checkbox, but it's easier to use field.checkbox for that.

View example
Components used in the example

By default, if the component returns false, this result will not be added to the output. To add false to the results, specify "preserveFalse": true.

View example
Components used in the example

Component properties

NameTypeDescription
type*"field.checkbox-group"Set component type.
data*writable

Data with values that will be processed or changed. Learn more about working with data.

labelstringLabel above the component.
disabledbooleanIf true, the options are inactive.
hintstringHint text.
options*arrayAn array of checkboxes, where value is the value to change, and label is the text near the checkbox.
options[]objectA checkbox.
options[].hintstringText with additional information about the option.
options[].label*stringText next to the option.
options[].value*stringReturned value.
preserveFalsebooleanProperty that specifies whether to return false values in the results. By default, if the component returns false, this result will not be added to the output. To add false to the results, specify "preserveFalse": true.
validationconditionValidation based on condition.
Contact support

Last updated: May 26, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary