The radio button form field is typically used to present the user with various options in a form. In UMRA, you can either present the user with a static list of options and assign the selected choice to a variable, or you can set the initial state of a readio button using a variable.
Creating static Radio buttons
1. Enter a name for the radio button variable in the Radio button variable field (e.g. %SelectedRadioButton%).
2. Create the radio buttons you wish to display. Click the Add button in the Radio buttons section . The following dialog box will appear:
In the Display text field, you can enter the text for the radio button.
In the Variable value field, you can either enter a fixed value to be associated with this radio button or a variable (e.g. %DeleteDirectory%). When the user selects a radio button, the value associated with the selected radio button will be stored in the radio button variable you specified in step 1 (%SelectedRadioButton%.)
In other words, if the user selects the option "Delete directory" in the example given above, the variable %SelectedRadioButton% will be set to "0" or "%DeleteDirectory%" .
Creating dynamic Radio buttons
It is also possible to determine the initial state of a radio button by a variable value. Suppose you have the following three radio buttons:
"Delete directory", variable value "0"
"Move directory", variable value "1"
"Copy directory", variable value "2"
Depending on the value of a variable (e.g. %Check%), the initial state of a variable can be set. If the value of %Check% is 0, the first option will be set, if the value equals "1" the second option will be set, and so on.
See also