﻿<?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  » valid response in checkbox</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 29 Sep 2026 17:43:25 GMT</lastBuildDate><ttl>20</ttl><item><title>valid response in checkbox</title><link>https://forums.millisecond.com/Topic19848.aspx</link><description>Hey guys,&lt;br/&gt;I am trying to create a simple checkbox survey. I can't figure out how to define the valid and correct responses though. No matter ho i define them, as soon as I define any validresponse at all, I can't click the "Next" Button when I run the experiment because the answer is not considered valid. It would be great if someone could help me with this, thank you.&lt;br/&gt;&lt;br/&gt;&amp;lt;survey survey&amp;gt;&lt;br/&gt;/ pages = [1 = p1]&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage p1&amp;gt;&lt;br/&gt;/ questions = [1 = q1]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;checkboxes q1&amp;gt;&lt;br/&gt;/ options = ("Answer 1", "Answer 2", "Answer 3")&lt;br/&gt;/ optionvalues = ("1", "2", "3")&lt;br/&gt;/ validresponse = ("1", "2", "3")&lt;br/&gt;&amp;lt;/checkboxes&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 13 Oct 2016 14:50:15 GMT</pubDate><dc:creator>Andraster</dc:creator></item><item><title>RE: valid response in checkbox</title><link>https://forums.millisecond.com/Topic19866.aspx</link><description>Great, this helps a lot. Thank you!</description><pubDate>Thu, 13 Oct 2016 14:50:15 GMT</pubDate><dc:creator>Andraster</dc:creator></item><item><title>RE: valid response in checkbox</title><link>https://forums.millisecond.com/Topic19849.aspx</link><description>You usually don't have to define /validresponse for checkboxes at all (i.e., you can simply remove the /validresponse attribute). Since &amp;lt;checkboxex&amp;gt; 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.&lt;br/&gt;&lt;br/&gt;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:&lt;br/&gt;&lt;br/&gt;&amp;lt;survey survey&amp;gt;&lt;br/&gt;/ pages = [1 = p1]&lt;br/&gt;&amp;lt;/survey&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage p1&amp;gt;&lt;br/&gt;/ questions = [1 = q1]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;checkboxes q1&amp;gt;&lt;br/&gt;/ caption = "Check one option (and one only):"&lt;br/&gt;/ options = ("Answer 1", "Answer 2", "Answer 3")&lt;br/&gt;/ optionvalues = ("1", "2", "3")&lt;br/&gt;/ range = (1,1)&lt;br/&gt;&amp;lt;/checkboxes&amp;gt;&lt;br/&gt;&lt;br/&gt;Hope this helps.&lt;br/&gt;</description><pubDate>Wed, 12 Oct 2016 11:41:11 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>