﻿<?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 6  » Aborting a batch using participant responses</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 08 Jun 2026 16:41:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Aborting a batch using participant responses</title><link>https://forums.millisecond.com/Topic32210.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I know that in using /quit within an &amp;lt;expt &amp;gt; element, you can link a value to a response so that if a participant responds in a certain way to a question or trial, it will quit and end that &amp;lt;expt &amp;gt; element.&lt;br/&gt;&lt;br/&gt;Is it possible to do something similar to this at the &amp;lt;batch &amp;gt; level (i.e., a certain response to a question will abort the entire batch of multiple scripts)?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;jxb</description><pubDate>Wed, 08 Sep 2021 21:19:22 GMT</pubDate><dc:creator>jxb</dc:creator></item><item><title>RE: Aborting a batch using participant responses</title><link>https://forums.millisecond.com/Topic32211.aspx</link><description>&lt;blockquote data-id="32210" class="if-quote-wrapper" unselectable="on" data-guid="1631135755210" id="if_insertedNode_1631135754736" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="32210" 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="32210" 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="32210" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;jxb - 9/8/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-32210"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I know that in using /quit within an &amp;lt;expt &amp;gt; element, you can link a value to a response so that if a participant responds in a certain way to a question or trial, it will quit and end that &amp;lt;expt &amp;gt; element.&lt;br/&gt;&lt;br/&gt;Is it possible to do something similar to this at the &amp;lt;batch &amp;gt; level (i.e., a certain response to a question will abort the entire batch of multiple scripts)?&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;jxb&lt;a class="if-quote-goto quote-link" href="#" data-id="32210"&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;Yes, you can call the script.abort() function to terminate an entire batch of scripts based on the response to a question or any other metric. See &lt;a href="https://www.millisecond.com/support/docs/v6/html/language/functions/abort.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/functions/abort.htm&lt;/a&gt; and e.g. &lt;a href="https://www.millisecond.com/forums/Topic26640.aspx"&gt;https://www.millisecond.com/forums/Topic26640.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 08 Sep 2021 21:19:22 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>