crowd-radio-group - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

crowd-radio-group

A group of radio buttons. Only one radio button within the group can be selected. Choosing one radio button clears any previously chosen radio button within the same group. For an example of a custom UI template that uses the crowd-radio-group element, see this entity recognition labeling job custom template.

See an interactive example of an HTML template that uses this Crowd HTML Element in CodePen.

The following is an example of the syntax that you can use with the <crowd-radio-group> element. Copy the following code and save it in a file with the extension .html. Open the file in any browser to preview and interact with this template.

Attributes

No special attributes are supported by this element.

Element Hierarchy

This element has the following parent and child elements.

Output

Outputs an array of objects representing the crowd-radio-button elements within it.

Example Sample of Element Output
[ { "btn1": { "yes": true }, "btn2": { "no": false } } ]

See Also

For more information, see the following.