Radiobuttons only allows correct response


Author
Message
thv
thv
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 23, Visits: 73
Hello,
I have a radiobuttons question on a survey page. There are 3 options and people should be able to select one, and then in the data file it should record whether it was correct or not.
However, the script below only lets the participant choose the correct response, and if I try to select a different response it turns the question red and will not let me continue.
Please let me know how to fix this. Thanks!


<surveypage endqs2>
/ caption = "Now we would like to ask you a few questions about how you did the previous task."
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ questions = [1=your_group]
/ nextbuttonposition = (80%,91%)
</surveypage>


<radiobuttons your_group>
/ caption = "What team were you part of for this task?"
/ options = ("orange", "purple","Don't remember")
/ correctresponse = ("orange")
/ orientation = horizontal
</radiobuttons>

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
thv - 9/16/2019
Hello,
I have a radiobuttons question on a survey page. There are 3 options and people should be able to select one, and then in the data file it should record whether it was correct or not.
However, the script below only lets the participant choose the correct response, and if I try to select a different response it turns the question red and will not let me continue.
Please let me know how to fix this. Thanks!


<surveypage endqs2>
/ caption = "Now we would like to ask you a few questions about how you did the previous task."
/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ questions = [1=your_group]
/ nextbuttonposition = (80%,91%)
</surveypage>


<radiobuttons your_group>
/ caption = "What team were you part of for this task?"
/ options = ("orange", "purple","Don't remember")
/ correctresponse = ("orange")
/ orientation = horizontal
</radiobuttons>

You need to define all available responses as /validresponse  for this to work.

<radiobuttons your_group>
/ caption = "What team were you part of for this task?"
/ options = ("orange", "purple","Don't remember")
/ validresponse = ("orange", "purple","Don't remember")
/ correctresponse = ("orange")
/ orientation = horizontal
</radiobuttons>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search