The associated variable of a form element takes on the value specified for the form element chosen by the user. For example, if a radio button group's associated variable name is Age_Range, and within it are 5 radio buttons with the options Under 21, 21-30, 31-45, 45-60, and Over 60, then when the user selects from the available radio buttons, the Age_Range variable will take on the value of that radio button. Suppose the user selects 21-30, then Age_Range = 21-30. If no selection is made, the variable remains empty (has no value).
To change the associated variable name of a form element:
Do one of the following:
In the Title Explorer, double-click the graphic of the form element.
In the Title Explorer, right-click the graphic of the form element and select Properties.
In the Title Explorer, select the form element and press Enter.
In the work area, double-click the form element.
In the work area, right-click the form element and select Properties.
In the work area, select the form element and press Enter.
The Properties ribbon is displayed.
Specify the associated variable name in the Variable Name field in the Value group. The variable will be used to store the user’s selection within the corresponding form element. The variable can be accessed from anywhere in the title.
The name/value pair submitted from the published title using email, a CGI script, or Google Drive is the form element's associated variable name and its value.
See also: |
Submitting test, survey and form results to CGI |
© Copyright eLearning Brothers 2021