@ResearchInfo.com
Site Spnsors

To create a multiple-choice questions that allow for a single response, you'll be working with Radio Buttons.

To create this question...

1. How would you rate XYZ Company's customer service?

Excellent
Good
Fair
Poor

You would use the following code:

<p>1. How would you rate XYZ Company's customer service?</p>
<p>
     <input type="radio" name="Q1" value="1" />Excellent<br />
     <input type="radio" name="Q1" value="2" />Good<br />
     <input type="radio" name="Q1" value="3" />Fair<br />
     <input type="radio" name="Q1" value="4" />Poor
</p>

Note that the name is the same for each option, while the value varies with each option. They contain the same name, primarily because you want them to end up in the same data column.

Return to Web Survey Tutorial index


Contact Scott Spain with Web site questions and feedback.

Site Sponsors: Venture Data and W3 Surveys

Saturday, February 4, 2012