Follow

cml:checkbox - Single Checkbox

cml:checkbox

Renders a single checkbox. Accepts all common attributes.

<cml:checkbox label="A single checkbox" />

 

Additional attributes

default

If supplied, the value of this attribute will be submitted if the contributor does not check the checkbox. Otherwise, when the contributor checks the checkbox, the checkbox's value attribute will be submitted (or, in the absence of the value attribute, the label attribute).

 

review-data (optional)

Add a column for review-data in the uploaded dataset to reference in the cml for that element. 

The column contents should match the value attribute.

Add review-data="{{DATASET_COLUMN}}" and task-type="qa" in the cml snippet.

 


Was this article helpful?
7 out of 10 found this helpful


Have more questions? Submit a request
Powered by Zendesk