﻿<?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  » Skip unless condition is met</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 01 May 2026 06:10:01 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Skip unless condition is met</title><link>https://forums.millisecond.com/Topic35790.aspx</link><description>&lt;blockquote data-id="35789" class="if-quote-wrapper" unselectable="on" data-guid="1700832065224" contenteditable="false" id="if_insertedNode_1700832064092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35789" 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="35789" 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="35789" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35789"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35788" class="if-quote-wrapper" unselectable="on" data-guid="1700832065224" contenteditable="false" id="if_insertedNode_1700831364775"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35788" 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="35788" 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="35788" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35788"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35786" class="if-quote-wrapper" unselectable="on" data-guid="1700832065224" contenteditable="false" id="if_insertedNode_1700829778373"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35786" 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="35786" 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="35786" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35786"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Once again asking for help,&lt;br/&gt;&lt;br/&gt;I'm trying to get answers from multiple checkboxes to feed into a forced choice picture task&lt;br/&gt;&lt;br/&gt;I've wrote all combinations as separate trials so just want to be able to have a skip unless particular answers are given - if I use skip[ IF( and != then all possible trial combinations appear but if I just use skip( and != then every trial skips so I feel like I'm missing something really simple, but I'm happy to feel like an idiot if you're able to help&lt;br/&gt;&lt;br/&gt;I have attached all the files with script below&lt;br/&gt;&lt;br/&gt;many thanks&lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35786"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You've defined /optionvalues in your checkboxes elements, so the checkboxes' response property returns the numerical value associated with the response given, not the caption. That is when you answer "Going to a club", the checkboxes.q1.response property returns "1", not "Going to a club".&lt;a class="if-quote-goto quote-link" href="#" data-id="35788"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thanks for that I have removed the option values - that was from a previous attempt to make it work. However the issue is still persisting, with IF&amp;nbsp; it shows all trials and without it, it shows none. Could it also be the way I've wrote out the trials in block.2?&lt;br/&gt;&lt;br/&gt;thanks again &lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35789"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Eh, I'm an idiot. You allow (well, require) multiple responses in your checkboxes (5), so the response can never be "Going to a club" (or "1") -- that would only be the case if you allowed / required only a single response.&lt;br/&gt;&lt;br/&gt;The response property will return all options selected concatenated with "&amp;amp;", i.e. if you selec the 1st 5 options in checkboxes.q1, the checkboxes.q1.response property will be:&lt;br/&gt;&lt;br/&gt;[code]"Going to a club &amp;amp; Bowling &amp;amp; Going to a restaurant &amp;amp; Gambling &amp;amp; Playing board/card/video games with friends"[/code]&lt;br/&gt;&lt;br/&gt;You can either use contains() to check whether this string includes the response you're interested in (cf.&amp;nbsp;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm"&gt;https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm&lt;/a&gt;&lt;/a&gt; under String Functions) or you can work with the selected property, which returns true if the given option was selected and false otherwise. So:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;trial 1_1 &amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearscreen, fixation; 50 = clearscreen, drink1 , nodrink1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (drink1, nodrink1)&lt;br/&gt;/ skip = [!checkboxes.q1.selected.1]&lt;br/&gt;/ skip = [!checkboxes.q2.selected.1]&lt;br/&gt;&amp;lt;/trial&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 24 Nov 2023 15:13:15 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Skip unless condition is met</title><link>https://forums.millisecond.com/Topic35791.aspx</link><description>&lt;blockquote data-id="35790" class="if-quote-wrapper" unselectable="on" data-guid="1700836945576" contenteditable="false" id="if_insertedNode_1700836944197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35790" 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="35790" 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="35790" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35790"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35789" class="if-quote-wrapper" unselectable="on" data-guid="1700836945576" contenteditable="false" id="if_insertedNode_1700832064092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35789" 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="35789" 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="35789" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35789"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35788" class="if-quote-wrapper" unselectable="on" data-guid="1700836945576" contenteditable="false" id="if_insertedNode_1700831364775"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35788" 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="35788" 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="35788" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35788"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35786" class="if-quote-wrapper" unselectable="on" data-guid="1700836945576" contenteditable="false" id="if_insertedNode_1700829778373"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35786" 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="35786" 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="35786" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35786"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Once again asking for help,&lt;br/&gt;&lt;br/&gt;I'm trying to get answers from multiple checkboxes to feed into a forced choice picture task&lt;br/&gt;&lt;br/&gt;I've wrote all combinations as separate trials so just want to be able to have a skip unless particular answers are given - if I use skip[ IF( and != then all possible trial combinations appear but if I just use skip( and != then every trial skips so I feel like I'm missing something really simple, but I'm happy to feel like an idiot if you're able to help&lt;br/&gt;&lt;br/&gt;I have attached all the files with script below&lt;br/&gt;&lt;br/&gt;many thanks&lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35786"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You've defined /optionvalues in your checkboxes elements, so the checkboxes' response property returns the numerical value associated with the response given, not the caption. That is when you answer "Going to a club", the checkboxes.q1.response property returns "1", not "Going to a club".&lt;a class="if-quote-goto quote-link" href="#" data-id="35788"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thanks for that I have removed the option values - that was from a previous attempt to make it work. However the issue is still persisting, with IF&amp;nbsp; it shows all trials and without it, it shows none. Could it also be the way I've wrote out the trials in block.2?&lt;br/&gt;&lt;br/&gt;thanks again &lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35789"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Eh, I'm an idiot. You allow (well, require) multiple responses in your checkboxes (5), so the response can never be "Going to a club" (or "1") -- that would only be the case if you allowed / required only a single response.&lt;br/&gt;&lt;br/&gt;The response property will return all options selected concatenated with "&amp;amp;", i.e. if you selec the 1st 5 options in checkboxes.q1, the checkboxes.q1.response property will be:&lt;br/&gt;&lt;br/&gt;[code"]Going to a club &amp;amp; Bowling &amp;amp; Going to a restaurant &amp;amp; Gambling &amp;amp; Playing board/card/video games with friends"[/code]&lt;br/&gt;&lt;br/&gt;You can either use contains() to check whether this string includes the response you're interested in (cf.&amp;nbsp;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm"&gt;https://www.millisecond.com/support/docs/v5/html/language/expressions/functions.htm&lt;/a&gt;&lt;/a&gt; under String Functions) or you can work with the selected property, which returns true if the given option was selected and false otherwise. So:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;trial 1_1 &amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearscreen, fixation; 50 = clearscreen, drink1 , nodrink1, debug ]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (drink1, nodrink1)&lt;br/&gt;/ skip = [!checkboxes.q1.selected.1]&lt;br/&gt;/ skip = [!checkboxes.q2.selected.1]&lt;br/&gt;&amp;lt;/trial&amp;gt;[/code]&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35790"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Dave you star, works perfectly &lt;br/&gt;&lt;br/&gt;thanks very much&lt;br/&gt;&lt;br/&gt;Jack</description><pubDate>Fri, 24 Nov 2023 14:42:44 GMT</pubDate><dc:creator>JDYates</dc:creator></item><item><title>Skip unless condition is met</title><link>https://forums.millisecond.com/Topic35786.aspx</link><description>Hi Dave,&lt;br/&gt;&lt;br/&gt;Once again asking for help,&lt;br/&gt;&lt;br/&gt;I'm trying to get answers from multiple checkboxes to feed into a forced choice picture task&lt;br/&gt;&lt;br/&gt;I've wrote all combinations as separate trials so just want to be able to have a skip unless particular answers are given - if I use skip[ IF( and != then all possible trial combinations appear but if I just use skip( and != then every trial skips so I feel like I'm missing something really simple, but I'm happy to feel like an idiot if you're able to help&lt;br/&gt;&lt;br/&gt;I have attached all the files with script below&lt;br/&gt;&lt;br/&gt;many thanks&lt;br/&gt;&lt;br/&gt;Jack</description><pubDate>Fri, 24 Nov 2023 14:42:44 GMT</pubDate><dc:creator>JDYates</dc:creator></item><item><title>RE: Skip unless condition is met</title><link>https://forums.millisecond.com/Topic35789.aspx</link><description>&lt;blockquote data-id="35788" class="if-quote-wrapper" unselectable="on" data-guid="1700831365858" contenteditable="false" id="if_insertedNode_1700831364775"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35788" 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="35788" 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="35788" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35788"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35786" class="if-quote-wrapper" unselectable="on" data-guid="1700831365858" contenteditable="false" id="if_insertedNode_1700829778373"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35786" 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="35786" 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="35786" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35786"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Once again asking for help,&lt;br/&gt;&lt;br/&gt;I'm trying to get answers from multiple checkboxes to feed into a forced choice picture task&lt;br/&gt;&lt;br/&gt;I've wrote all combinations as separate trials so just want to be able to have a skip unless particular answers are given - if I use skip[ IF( and != then all possible trial combinations appear but if I just use skip( and != then every trial skips so I feel like I'm missing something really simple, but I'm happy to feel like an idiot if you're able to help&lt;br/&gt;&lt;br/&gt;I have attached all the files with script below&lt;br/&gt;&lt;br/&gt;many thanks&lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35786"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You've defined /optionvalues in your checkboxes elements, so the checkboxes' response property returns the numerical value associated with the response given, not the caption. That is when you answer "Going to a club", the checkboxes.q1.response property returns "1", not "Going to a club".&lt;a class="if-quote-goto quote-link" href="#" data-id="35788"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Thanks for that I have removed the option values - that was from a previous attempt to make it work. However the issue is still persisting, with IF&amp;nbsp; it shows all trials and without it, it shows none. Could it also be the way I've wrote out the trials in block.2?&lt;br/&gt;&lt;br/&gt;thanks again &lt;br/&gt;&lt;br/&gt;Jack</description><pubDate>Fri, 24 Nov 2023 13:13:40 GMT</pubDate><dc:creator>JDYates</dc:creator></item><item><title>RE: Skip unless condition is met</title><link>https://forums.millisecond.com/Topic35788.aspx</link><description>&lt;blockquote data-id="35786" class="if-quote-wrapper" unselectable="on" data-guid="1700829779005" contenteditable="false" id="if_insertedNode_1700829778373"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35786" 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="35786" 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="35786" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;JDYates - 11/24/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35786"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hi Dave,&lt;br/&gt;&lt;br/&gt;Once again asking for help,&lt;br/&gt;&lt;br/&gt;I'm trying to get answers from multiple checkboxes to feed into a forced choice picture task&lt;br/&gt;&lt;br/&gt;I've wrote all combinations as separate trials so just want to be able to have a skip unless particular answers are given - if I use skip[ IF( and != then all possible trial combinations appear but if I just use skip( and != then every trial skips so I feel like I'm missing something really simple, but I'm happy to feel like an idiot if you're able to help&lt;br/&gt;&lt;br/&gt;I have attached all the files with script below&lt;br/&gt;&lt;br/&gt;many thanks&lt;br/&gt;&lt;br/&gt;Jack&lt;a class="if-quote-goto quote-link" href="#" data-id="35786"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;You've defined /optionvalues in your checkboxes elements, so the checkboxes' response property returns the numerical value associated with the response given, not the caption. That is when you answer "Going to a club", the checkboxes.q1.response property returns "1", not "Going to a club".</description><pubDate>Fri, 24 Nov 2023 12:57:44 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>