cml:radios
Renders a group of radio buttons. Accepts all common attributes.
<cml:radios label="Sample radio buttons:">
<cml:radio label="Radio 1" />
<cml:radio label="Radio 2" />
<cml:radio label="Radio 3" />
</cml:radios>
The child <cml:radio /> elements accept the following attributes:
checked-
If this attribute is "true", the child radio button will be pre-select when the page loads.
<cml:radios validates="required" label="Sample radios:"> <cml:radio label="Radio 1" checked="true" /> <cml:radio label="Radio 2" /> <cml:radio label="Radio 3" /> </cml:radios> labelThe visible label for the child radio button. This is different than the parent
<cml:radios>element'slabelattribute, which is the label for the entire group of radio buttons.valueThe value that gets submitted if the contributor selects the corresponding child radio button. If this isn't present, the value of the
labelattribute is submitted.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.