Appen Success Center

cml:checkbox - Single Checkbox

cml:checkbox

Renders a single checkbox. Accepts all common attributes.

<cml:checkbox label="A single checkbox" />
a3b55c1dbe331877_CMLCheckbox.jpg

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.