Group: Administrators
Posts: 13K,
Visits: 105K
|
You usually don't have to define /validresponse for checkboxes at all (i.e., you can simply remove the /validresponse attribute). Since <checkboxex> allow for multiple simultaneous answers (i.e., you can check one option, two, or all three), you would only be able to move on with all three checked here when /validresponse is defined.
Assuming you want to restrict responses such that a participant has to select one option -- and only one -- you do that via the /range attribute:
<survey survey> / pages = [1 = p1] </survey>
<surveypage p1> / questions = [1 = q1] </surveypage>
<checkboxes q1> / caption = "Check one option (and one only):" / options = ("Answer 1", "Answer 2", "Answer 3") / optionvalues = ("1", "2", "3") / range = (1,1) </checkboxes>
Hope this helps.
|