﻿<?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  » Skip attribute</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 16 May 2026 07:50:54 GMT</lastBuildDate><ttl>20</ttl><item><title>Skip attribute</title><link>https://forums.millisecond.com/Topic17735.aspx</link><description>I have a study in which I want to exclude people who answer a specific way to a demographic question. &amp;nbsp;I have successfully done this in that specific script (DemoTrial.iqx below). &amp;nbsp;However, my study is comprised of 5 different scripts, which I have glued together using the batch function (see below). &amp;nbsp;Is there a way to apply the skip function so that it carries through to the other scripts? &amp;nbsp;Specifically, how do I make people who I don't want to continue onto the rest of the study be excluded after the first script? &amp;nbsp;I'm not sure what other details to give, but I can supply any information that would help lead to a solution.&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 24)&lt;br/&gt;/ groupassignment = groupnumber &lt;br/&gt;/ file = "DemoTrial.iqx"&lt;br/&gt;/ file = "RaceIAT.iqx"&lt;br/&gt;/ file = "MRS.iqx"&lt;br/&gt;/ file = "RWA.iqx"&lt;br/&gt;/ file = "SDO.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 01 Dec 2015 11:50:49 GMT</pubDate><dc:creator>psyclaw</dc:creator></item><item><title>RE: Skip attribute</title><link>https://forums.millisecond.com/Topic17867.aspx</link><description>Wow. &amp;nbsp;I'm so sorry I missed something so obvious. &amp;nbsp;It works perfectly now. &amp;nbsp;Thank you so much for your help!</description><pubDate>Tue, 01 Dec 2015 11:50:49 GMT</pubDate><dc:creator>psyclaw</dc:creator></item><item><title>RE: Skip attribute</title><link>https://forums.millisecond.com/Topic17865.aspx</link><description>/ ontrialend = [if (radiobuttons.abort=="Yes") script.abort(); ]&lt;br/&gt;&lt;br/&gt;needs to read &lt;br/&gt;&lt;br/&gt;/ ontrialend = [if (radiobuttons.abort&lt;strong&gt;.response&lt;/strong&gt;=="Yes") script.abort(); ]&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 01 Dec 2015 11:15:23 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Skip attribute</title><link>https://forums.millisecond.com/Topic17864.aspx</link><description>I'm sorry to bother again, but I still can't get it to work. &amp;nbsp;Below is the code I added into our demographics file. &amp;nbsp;It runs, but the other tasks in the batch still run as well. &amp;nbsp;Looking around, it doesn't look like anything is supposed to go in the parentheses of the script.abort command, but I'm not certain that is true. &amp;nbsp;Is there something obvious we're missing? &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Also, I'm not sure if this matters but participants are randomly assigned to a batch, were the survey pages are randomized. &amp;nbsp;Everyone does the demographics page first, but the other four tasks are randomized. &amp;nbsp;Any help would be greatly appreciated! &amp;nbsp;Thanks!&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage black&amp;gt;&lt;br/&gt;/ caption = "Thank you for your interest in our study.  Unfortunately, you do not qualify to complete the second part."&lt;br/&gt;/ questions = [1=abort] &lt;br/&gt;/ fontstyle = ("Arial", 2.52%, true, false, false, false, 5, 0)&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ ontrialend = [if (radiobuttons.abort=="Yes") script.abort(); ]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;radiobuttons abort&amp;gt;&lt;br/&gt;/ caption = "Please select yes to exit the program."&lt;br/&gt;/ options = ("Yes")&lt;br/&gt;/ required = true&lt;br/&gt;&amp;lt;/radiobuttons&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 01 Dec 2015 10:54:02 GMT</pubDate><dc:creator>psyclaw</dc:creator></item><item><title>RE: Skip attribute</title><link>https://forums.millisecond.com/Topic17750.aspx</link><description>Thank you!!</description><pubDate>Tue, 17 Nov 2015 20:24:29 GMT</pubDate><dc:creator>psyclaw</dc:creator></item><item><title>RE: Skip attribute</title><link>https://forums.millisecond.com/Topic17741.aspx</link><description>You cannot use /skip attributes if you want to terminate an entire &amp;lt;batch&amp;gt;. Instead you need to use the script.abort() function in your demographics script, i.e. something like&lt;br/&gt;&lt;br/&gt;/ ontrialend = [if (radiobuttons.consent.response=="No") script.abort(); ]&lt;br/&gt;</description><pubDate>Tue, 17 Nov 2015 05:22:25 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>