Radio Button
A radio button is a graphical user interface element that allows a user to select one option out of a set of predefined options. Unlike check boxes, which allow multiple selections, radio buttons require that only one option is selected. To use the new version, refer to Radio Button.
Property | Description |
---|---|
Target Data | The target data defines where the information will be sent. |
Options | Radio buttons require multiple options that are mutually
exclusive. Use these available options to create items for each
radio button:
|
Data | Select this option if you want to provide data by means of a query output or a global parameter. |
Manual | Select this option if you want to manually provide data. |
Submit on change | Select the check box if you want to submit the query whenever the input value is updated. |
Possible Uses
Radio buttons require only one selection out of multiple options. If there are only two options, a radio button is unlikely to be the best widget choice. One example could be selecting an answer on a questionnaire where the choices are: Agree, Neutral, and Disagree. Only one of these answers can be selected, because they are mutually exclusive.
Example
- Add a radio button and a header on a page.
- Specify the name in the Id box.
- Select the Global Data check box to set the selected value to global.
- In the Options box, select Hard Coded.
- Select + Add Option three times, and enter Agree, Neutral, and Disagree, and the corresponding values of 1, 2, 3.
- For the header, in the Data box, select the global value of RB that was set in step 3.
- Save the application, and preview it.
The corresponding values appear in the header.