﻿<?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  » Is it possible to add conditions to batch?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 14 Sep 2026 10:02:08 GMT</lastBuildDate><ttl>20</ttl><item><title>Is it possible to add conditions to batch?</title><link>https://forums.millisecond.com/Topic31356.aspx</link><description>Hi! &lt;br/&gt;&lt;br/&gt;Im new using Inquisit and I would appreciate some help!&lt;br/&gt;&lt;br/&gt;I'm trying to program a "matching to sample" experiment which consists of several phases.&lt;br/&gt;&lt;br/&gt;I would like to know how can I code a condition between blocks that allows people to switch from phase to phase if they achieved a 85% correct responding in two consecutive trials e.g. if they respond to "block1A" and "block1B" with at least 85% of defined responses correct, the next block would be "block2A" and so on.&lt;br/&gt;&lt;br/&gt;So far, I'm considering to use &amp;lt;batch&amp;gt; but it would only work as an organization tool, isn't it? is it possible to code an if/else condition? sort of:&lt;br/&gt;&amp;nbsp; if { block1A &amp;lt; 85% correct responses&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;then = block2A&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br/&gt;&amp;nbsp;else {block 1b&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br/&gt;&lt;br/&gt;Thanks for your time, have&amp;nbsp; a great day!&lt;br/&gt;</description><pubDate>Mon, 19 Apr 2021 03:09:14 GMT</pubDate><dc:creator>EnriqueAguilar</dc:creator></item><item><title>RE: Is it possible to add conditions to batch?</title><link>https://forums.millisecond.com/Topic31359.aspx</link><description>Nevermind, I fixed my problem by using /branch on each block that required it.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/language/attributes/branch.htm"&gt;https://www.millisecond.com/support/docs/v6/html/language/attributes/branch.htm&lt;/a&gt;</description><pubDate>Mon, 19 Apr 2021 03:09:14 GMT</pubDate><dc:creator>EnriqueAguilar</dc:creator></item></channel></rss>