Warning: Because of the complexities of the Free Format Question type, you must completely test your survey to ensure that it functions properly and that the data for your entire survey are being saved correctly.
The RADIO variable is used for asking the respondent to select a single option from a set of response options. Within the Free Format Variable dialog, specify a Free Format Variable with RADIO as the Variable Type.
Within the HTML editing area, specify an <INPUT> HTML tag with the type set to "radio" for each radio button in the group. The easiest way to do this is by using the Free Format Tools button . When using the Free Format Tools button, SSI Web automatically provides default HTML with appropriate variable naming conventions.
The name attribute for each <INPUT> tag must be the name of the variable (all radio <INPUT> tags should have the same name attribute). The VALUE attribute for each <INPUT> tag should be set to a unique value, so you can determine which option the respondent selected (we recommend sequential integers starting with one).
RADIO Example
(The following parameters represent a Free Format Question with one variable defined.)
Free Format Question Name:
FF6
Variable Name:
FF6_INCOME
Variable Type:
RADIO
Require Response:
(checked)
Error Message String:
Annual Income
Example HTML Code:
What is your annual income? <BR> <BR>
<INPUT TYPE="radio" NAME="FF6_INCOME" VALUE="1">$0 - $19,999 <BR>
<INPUT TYPE="radio" NAME="FF6_INCOME" VALUE="2">$20,000 - $39,999 <BR>
<INPUT TYPE="radio" NAME="FF6_INCOME" VALUE="3">$40,000 - $59,999 <BR>
<INPUT TYPE="radio" NAME="FF6_INCOME" VALUE="4">$60,000 - $79,999 <BR>
<INPUT TYPE="radio" NAME="FF6_INCOME" VALUE="5">$80,000 or more