﻿<?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  » Web experiment and multiple versions</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 21 Sep 2026 19:09:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17036.aspx</link><description>Hi All,&lt;br/&gt;&lt;br/&gt;I have an experiment that I am thinking of posting to the web for data collection but I am stuck with one issue. The study has 4 .iqx experiment files with each having a different condition. In the lab, I'd ask the RAs to assign subjects serially to each of the four files (P1=first file, P2=second file...etc.). However, on the web this cannot be the case. Is there a easy way to combine all the 4 .iqx files in such a way that it is assured that subjects will be randomly assigned to one of 4 versions. Please help.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;-Geep</description><pubDate>Fri, 04 Sep 2015 04:32:59 GMT</pubDate><dc:creator>GeeP</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17043.aspx</link><description>Great! Thank you very much for all your help Dave!</description><pubDate>Fri, 04 Sep 2015 04:32:59 GMT</pubDate><dc:creator>GeeP</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17041.aspx</link><description>You enter the subject number as you usually would.&lt;br/&gt;&lt;br/&gt;Whether you need to make any adjustments to the &amp;lt;data&amp;gt; elements, I do not know. If it's not already defined, log the groupid&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [date time subject group ...]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;The group number tells you which script was run (cf. &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt; ).&lt;br/&gt;</description><pubDate>Thu, 03 Sep 2015 20:11:33 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17040.aspx</link><description>Ah! Great! Thanks a ton! So, along with the group number (1=A, 2=B, 3=C and 4=D) I should simply enter the subject ID, correct? Should I add anything in the data element or Inquisit will automatically register the group number and which version was run on which subject? Thank you very much again Dave!&lt;br/&gt;</description><pubDate>Thu, 03 Sep 2015 19:49:51 GMT</pubDate><dc:creator>GeeP</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17039.aspx</link><description>The 4 &amp;lt;batch&amp;gt; elements go in a new, separate file. Call it batch.iqx and place it alongside the existing scripts. Execute batch.iqx. Entering 1 as group number will run A.iqx. Entering 2 will run B.iqx, etc.&lt;br/&gt;&lt;br/&gt;On the web, you register batch.iqx as your web script. You then upload the remaining files (the 4 "actual" scripts, images, etc.) in the next step.&lt;br/&gt;&lt;br/&gt;That's all there is to it.&lt;br/&gt;</description><pubDate>Thu, 03 Sep 2015 19:23:12 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17038.aspx</link><description>Thanks Dave!&lt;br/&gt;&lt;br/&gt;Is there an example I can look at to set this up? I have never used the batch element. I'm confused as to where to add the batch element. There are 4 .iqx files in the experiment folder, so should I add the script you shared to all of them? Also, I am not sure what you mean by "Register the file containing the 4 &amp;lt;batch&amp;gt; elements as your active script. Set the group number generation to sequential." Is this exclusive to only a web experiment? Apologies for all these questions! Thanks for everything&lt;br/&gt;&lt;br/&gt;-Geep</description><pubDate>Thu, 03 Sep 2015 18:58:58 GMT</pubDate><dc:creator>GeeP</dc:creator></item><item><title>RE: Web experiment and multiple versions</title><link>https://forums.millisecond.com/Topic17037.aspx</link><description>Yes, by using &amp;lt;batch&amp;gt; elements.&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (1 of 4)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "A.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (2 of 4)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "B.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;...&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ subjects = (4 of 4)&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ file = "D.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Register the file containing the 4 &amp;lt;batch&amp;gt; elements as your active script. Set the group number generation to sequential.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 03 Sep 2015 15:16:39 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>