Radio
A widget with a series of toggle buttons that allows the user to select one of a several options
Specification
choices and choices/sets, and the latter's corresponding ~Settings object(s) (available to all parameter types, and described in the Parameters) page, are key to defining an instance of this parameter.
key | type | required | default value | description |
---|---|---|---|---|
numCols | integer | no | 1 | The number of columns to spread the radio buttons over. |
Example
{
"name": "someradio",
"type": "radio",
"valueType": "string",
"prompt": "Geometry Type",
"choices": [
{
"value": "poly",
"display": "polygon"
},
{
"value": "point",
"display": "point"
},
{
"value": "line",
"display": "line"
}
],
"numCols": 3
}