﻿<?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 4  » Require correct response</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 27 Sep 2026 11:08:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Require correct response</title><link>https://forums.millisecond.com/Topic15626.aspx</link><description>Hi again. I am trying to make a task where participants must distribute 16 points over 16 options such that they use all 16 points. They can do this by putting 8 on one option and 8 on another, or 16 on one, or 1 on each, etc...&lt;br/&gt;&lt;br/&gt;Is there a way to sum the values of textboxes/dropdown to make sure the totals entered are valid before the participant cant move on?</description><pubDate>Thu, 26 Feb 2015 12:14:21 GMT</pubDate><dc:creator>nashby</dc:creator></item><item><title>RE: Require correct response</title><link>https://forums.millisecond.com/Topic15627.aspx</link><description>Yes. radiobuttons and dropdowns have response properties just like any other element. You can sum those up and perform checks using /ontrialend logic, branching, &amp;lt;expressions&amp;gt; or the like.&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mypage]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage mypage&amp;gt;&lt;br/&gt;/ questions = [1=a; 2=b]&lt;br/&gt;/ branch = [if (dropdown.a.response+dropdown.b.response!=4) surveypage.mypage]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown a&amp;gt;&lt;br/&gt;/ options = ("0", "1", "2", "3", "4")&lt;br/&gt;&amp;lt;/dropdown&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;dropdown b&amp;gt;&lt;br/&gt;/ options = ("0", "1", "2", "3", "4")&lt;br/&gt;&amp;lt;/dropdown&amp;gt;</description><pubDate>Thu, 26 Feb 2015 12:14:21 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>