﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Radiobuttons only allows correct response</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 08 Sep 2026 20:50:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Radiobuttons only allows correct response</title><link>https://forums.millisecond.com/Topic27774.aspx</link><description>Hello,&lt;br/&gt;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.&lt;br/&gt;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.&lt;br/&gt;Please let me know how to fix this. Thanks!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage endqs2&amp;gt;&lt;br/&gt;/ caption = "Now we would like to ask you a few questions about how you did the previous task."&lt;br/&gt;/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ questions = [1=your_group]&lt;br/&gt;/ nextbuttonposition = (80%,91%)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons your_group&amp;gt;&lt;br/&gt;/ caption = "What team were you part of for this task?"&lt;br/&gt;/ options = ("orange", "purple","Don't remember")&lt;br/&gt;/ correctresponse = ("orange")&lt;br/&gt;/ orientation = horizontal&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 16 Sep 2019 13:25:14 GMT</pubDate><dc:creator>thv</dc:creator></item><item><title>RE: Radiobuttons only allows correct response</title><link>https://forums.millisecond.com/Topic27775.aspx</link><description>&lt;div data-id="27774" class="if-quote-wrapper" unselectable="on" data-guid="1568665452730"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27774" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="27774" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="27774" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;thv - 9/16/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27774"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;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.&lt;br/&gt;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.&lt;br/&gt;Please let me know how to fix this. Thanks!&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage endqs2&amp;gt;&lt;br/&gt;/ caption = "Now we would like to ask you a few questions about how you did the previous task."&lt;br/&gt;/ fontstyle = ("Verdana", 1.5%, true, false, false, false, 5, 0)&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ questions = [1=your_group]&lt;br/&gt;/ nextbuttonposition = (80%,91%)&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons your_group&amp;gt;&lt;br/&gt;/ caption = "What team were you part of for this task?"&lt;br/&gt;/ options = ("orange", "purple","Don't remember")&lt;br/&gt;/ correctresponse = ("orange")&lt;br/&gt;/ orientation = horizontal&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27774"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You need to define all available responses as /validresponse&amp;nbsp; for this to work.&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons your_group&amp;gt;&lt;br/&gt;/ caption = "What team were you part of for this task?"&lt;br/&gt;/ options = ("orange", "purple","Don't remember")&lt;br/&gt;&lt;strong&gt;/ validresponse = ("orange", "purple","Don't remember")&lt;/strong&gt;&lt;br/&gt;/ correctresponse = ("orange")&lt;br/&gt;/ orientation = horizontal&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 16 Sep 2019 13:25:14 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>