﻿<?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  » Skipping questions depending on the combination of two previous responses</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 17 Sep 2026 18:27:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Skipping questions depending on the combination of two previous responses</title><link>https://forums.millisecond.com/Topic21540.aspx</link><description>I am just about to put up a script that has three attention check questions in it at various points&amp;nbsp;on MTurk.&amp;nbsp; Participants are told if they get two of these three questions incorrect they will not be eligible for payment (which is consistent with the MTurk policy).&amp;nbsp; What I want to do is skip survey pages once they get two of these questions&amp;nbsp;incorrect.&amp;nbsp; My understanding of the skip attribute is that it is an OR statement - if one question is incorrect OR the other is incorrect then skip the page.&amp;nbsp; What I need is an AND version of this ... so following responses to two 2 of the 3 questions, if responses to both questions (i.e., check1&amp;nbsp; &amp;amp; check2) are&amp;nbsp; incorrect, the remaining survey pages are skipped and they are sent to a page which says, not quite as harshly as this, "you've failed the conditions of paying attention to the questions and you won't be paid".&amp;nbsp; Then once the 3rd attention check question is presented what I need to do is skip the remaining pages if 2 of the 3 responses are incorrect.&amp;nbsp;&amp;nbsp; So what I need is "If check1 is incorrect (optionvalue= 0) and/or check2 is incorrect and/or check3 is incorrect" OR "if check1 is correct and check2 AND chech3 are incorrect", then skip to the non-payment page.&amp;nbsp;I know this is possible in Qualtrics but I can't figure out how to do this with Inquisit. Is this possible?&lt;br/&gt;Jenny</description><pubDate>Wed, 10 May 2017 17:21:13 GMT</pubDate><dc:creator>ianrt</dc:creator></item><item><title>RE: Skipping questions depending on the combination of two previous responses</title><link>https://forums.millisecond.com/Topic21549.aspx</link><description>&lt;div data-id="21544" class="if-quote-wrapper" unselectable="on" data-guid="1494462060529"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21544" 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="21544" 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="21544" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, May 10, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21544"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21540" class="if-quote-wrapper" unselectable="on" data-guid="1494462060529"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21540" 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="21540" 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="21540" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ianrt - Wednesday, May 10, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21540"&gt;&lt;div class="if-quote-message-margin"&gt;I am just about to put up a script that has three attention check questions in it at various points&amp;nbsp;on MTurk.&amp;nbsp; Participants are told if they get two of these three questions incorrect they will not be eligible for payment (which is consistent with the MTurk policy).&amp;nbsp; What I want to do is skip survey pages once they get two of these questions&amp;nbsp;incorrect.&amp;nbsp; My understanding of the skip attribute is that it is an OR statement - if one question is incorrect OR the other is incorrect then skip the page.&amp;nbsp; What I need is an AND version of this ... so following responses to two 2 of the 3 questions, if responses to both questions (i.e., check1&amp;nbsp; &amp;amp; check2) are&amp;nbsp; incorrect, the remaining survey pages are skipped and they are sent to a page which says, not quite as harshly as this, "you've failed the conditions of paying attention to the questions and you won't be paid".&amp;nbsp; Then once the 3rd attention check question is presented what I need to do is skip the remaining pages if 2 of the 3 responses are incorrect.&amp;nbsp;&amp;nbsp; So what I need is "If check1 is incorrect (optionvalue= 0) and/or check2 is incorrect and/or check3 is incorrect" OR "if check1 is correct and check2 AND chech3 are incorrect", then skip to the non-payment page.&amp;nbsp;I know this is possible in Qualtrics but I can't figure out how to do this with Inquisit. Is this possible?&lt;br/&gt;Jenny&lt;a class="if-quote-goto quote-link" href="#" data-id="21540"&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;Yes, this is possible.&lt;br/&gt;&lt;br/&gt;Count the number of failed checks in a global variable (a &amp;lt;values&amp;gt; entry) and then /skip if the value is &amp;gt;= 2. That would be the easiest / most straightforward option (in my opinion). You can also formulate your /skip like this&lt;br/&gt;&lt;br/&gt;/ skip = [(radiobuttons.check1.response==0 &amp;amp;&amp;amp; radiobuttons.check2.response==0) || (radiobuttons.check1.response==0 &amp;amp;&amp;amp; radiobuttons.check3.response==0) || (radiobuttons.check2.response==0 &amp;amp;&amp;amp; radiobuttons.check3.response==0)] &lt;br/&gt;&lt;br/&gt;but that seems a bit tedious (and would become ever more tedious with an increasing number of checks).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21544"&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;Thanks (as always) Dave!&lt;br/&gt;Best&lt;br/&gt;Jenny</description><pubDate>Wed, 10 May 2017 17:21:13 GMT</pubDate><dc:creator>ianrt</dc:creator></item><item><title>RE: Skipping questions depending on the combination of two previous responses</title><link>https://forums.millisecond.com/Topic21544.aspx</link><description>&lt;div data-id="21540" class="if-quote-wrapper" unselectable="on" data-guid="1494430162671"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21540" 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="21540" 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="21540" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ianrt - Wednesday, May 10, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21540"&gt;&lt;div class="if-quote-message-margin"&gt;I am just about to put up a script that has three attention check questions in it at various points&amp;nbsp;on MTurk.&amp;nbsp; Participants are told if they get two of these three questions incorrect they will not be eligible for payment (which is consistent with the MTurk policy).&amp;nbsp; What I want to do is skip survey pages once they get two of these questions&amp;nbsp;incorrect.&amp;nbsp; My understanding of the skip attribute is that it is an OR statement - if one question is incorrect OR the other is incorrect then skip the page.&amp;nbsp; What I need is an AND version of this ... so following responses to two 2 of the 3 questions, if responses to both questions (i.e., check1&amp;nbsp; &amp;amp; check2) are&amp;nbsp; incorrect, the remaining survey pages are skipped and they are sent to a page which says, not quite as harshly as this, "you've failed the conditions of paying attention to the questions and you won't be paid".&amp;nbsp; Then once the 3rd attention check question is presented what I need to do is skip the remaining pages if 2 of the 3 responses are incorrect.&amp;nbsp;&amp;nbsp; So what I need is "If check1 is incorrect (optionvalue= 0) and/or check2 is incorrect and/or check3 is incorrect" OR "if check1 is correct and check2 AND chech3 are incorrect", then skip to the non-payment page.&amp;nbsp;I know this is possible in Qualtrics but I can't figure out how to do this with Inquisit. Is this possible?&lt;br/&gt;Jenny&lt;a class="if-quote-goto quote-link" href="#" data-id="21540"&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;Yes, this is possible.&lt;br/&gt;&lt;br/&gt;Count the number of failed checks in a global variable (a &amp;lt;values&amp;gt; entry) and then /skip if the value is &amp;gt;= 2. That would be the easiest / most straightforward option (in my opinion). You can also formulate your /skip like this&lt;br/&gt;&lt;br/&gt;/ skip = [(radiobuttons.check1.response==0 &amp;amp;&amp;amp; radiobuttons.check2.response==0) || (radiobuttons.check1.response==0 &amp;amp;&amp;amp; radiobuttons.check3.response==0) || (radiobuttons.check2.response==0 &amp;amp;&amp;amp; radiobuttons.check3.response==0)] &lt;br/&gt;&lt;br/&gt;but that seems a bit tedious (and would become ever more tedious with an increasing number of checks).&lt;br/&gt;</description><pubDate>Wed, 10 May 2017 08:32:03 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>