Radio Button Groups can be configured to have specific values associated with the radio button options. To configure a Radio Button Group:
-
Select the Radio Button Groups control in the toolbox and drag it to the location in the form where you want it to be inserted and release the mouse click. The Configure Radio Button Group dialog box is displayed.
- Select the Data Type that will be associated with the Radio Button Group from the drop-down list.
- Select the Orientation for the radio buttons from the drop-down list. You can choose to orient them vertically or horizontally.
-
If you have a Unity Forms data set configured that you would like to use the values as radio button selections, click Import Data Set.
Select the appropriate Data Set from the drop-down list. The values configured in the selected data set are displayed for selection in the Available Data Set Values box.
You can select specific values and click Add Selected Items or you can click Add All Items to select all values in the data set for the radio button group. You can remove selected values by selecting the value(s) and clicking Remove Selected Items or remove all values by clicking Remove All Items.
Click OK. The values will be added as Radio Buttons.
-
You can also configure radio buttons manually. To add a radio button manually, click Add New Radio Button. A new radio button is added to the Radio Buttons table.
Double-click under the Label column. Enter the label you want to use for the radio button.
Double-click under the Value column. Enter the value you want associated with the radio button group when the radio button is selected.
Note:Values are case insensitive.
If you want to specify a radio button that is selected by default, select the corresponding radio button under the Default column.
- You can order radio buttons by selecting a radio button and clicking the up and down arrow buttons. You can delete a radio button by clicking the corresponding X button. You can clear the radio button configured as the default by clicking Clear Default. You can delete all of the radio buttons by clicking Delete All.
-
When you are done configuring the radio button group, click Finish.
Note:
If multiple radio buttons in the group have the same value, when a form is submitted and reopened, the first instance of the value will be selected regardless of the radio button that was originally selected. This will occur regardless of if the value is configured as the default value.
Note:When a radio button value is set via the Set Field Value action or the API and the value that is being set does not correspond to an available radio button value, the current value is not overwritten.
Note:If a Radio Button Group is backed by a masked Keyword Type, the radio button values must be unmasked strings.