﻿<?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  » URL for groupid, 4 conditions with</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 03:03:50 GMT</lastBuildDate><ttl>20</ttl><item><title>URL for groupid, 4 conditions with</title><link>https://forums.millisecond.com/Topic27593.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I have read a few posts about assigning both subject id/workerid and group id's through URL's when using Inquisit Web (this one was most helpful in particular&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic19623-1.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic19623-1.aspx"&gt;https://www.millisecond.com/forums/Topic19623-1.aspx&lt;/a&gt;&lt;/a&gt;), however, my URL launch page isn't working properly. I am redirecting participants from TurkPrime.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;There are four conditions/ group id's. My groupid's are 0, 1, 2, 3 due to the following:&lt;br/&gt;&lt;br/&gt;//condition 1&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==1]&lt;br/&gt;/ file = "setPtp1Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 2&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==2]&lt;br/&gt;/ file = "setPtp2Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 3&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==3]&lt;br/&gt;/ file = "setPtp3Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 4&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==0]&lt;br/&gt;/ file = "setPtp4Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;Upon testing the study on Inquisit Web (launching the study), the launch page URL in inquisit lists the subjectid = 1 and&amp;nbsp; groupid=1234. First, I believe it should only be 1, 2, 3, or 0, not all combinations, and 4 shouldn't be included. I'm not sure if this is a problem due to having only one &amp;lt;experiment&amp;gt;. I only need one because all of the differences are in the include files.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt s&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ blocks = [1 = welcome; 2 = consent; 3= mturkid; 4=instructions; 5=blocks; 6= demographics; 7= motivation_question; 8= debriefing; 9 = thankyou_completed]&lt;br/&gt;/ onexptend = [values.completed = 1]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;Any assistance with figuring out the proper URL groupid would be much appreciated.&lt;br/&gt;&lt;br/&gt;Thank you</description><pubDate>Tue, 13 Aug 2019 12:44:47 GMT</pubDate><dc:creator>psychology8</dc:creator></item><item><title>RE: URL for groupid, 4 conditions with</title><link>https://forums.millisecond.com/Topic27599.aspx</link><description>&lt;br/&gt;Thanks, Dave!&amp;nbsp;</description><pubDate>Tue, 13 Aug 2019 12:44:47 GMT</pubDate><dc:creator>psychology8</dc:creator></item><item><title>RE: URL for groupid, 4 conditions with</title><link>https://forums.millisecond.com/Topic27596.aspx</link><description>&lt;div data-id="27593" class="if-quote-wrapper" unselectable="on" data-guid="1565712038647"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27593" 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="27593" 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="27593" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;psychology8 - 8/13/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27593"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I have read a few posts about assigning both subject id/workerid and group id's through URL's when using Inquisit Web (this one was most helpful in particular&amp;nbsp;&lt;a href="https://www.millisecond.com/forums/Topic19623-1.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/Topic19623-1.aspx"&gt;https://www.millisecond.com/forums/Topic19623-1.aspx&lt;/a&gt;&lt;/a&gt;), however, my URL launch page isn't working properly. I am redirecting participants from TurkPrime.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;There are four conditions/ group id's. My groupid's are 0, 1, 2, 3 due to the following:&lt;br/&gt;&lt;br/&gt;//condition 1&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==1]&lt;br/&gt;/ file = "setPtp1Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 2&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==2]&lt;br/&gt;/ file = "setPtp2Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 3&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==3]&lt;br/&gt;/ file = "setPtp3Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;//condition 4&lt;br/&gt;&amp;lt;include&amp;gt;&lt;br/&gt;/ precondition = [mod(script.groupid,4)==0]&lt;br/&gt;/ file = "setPtp4Items_v2.txt"&lt;br/&gt;&amp;lt;/include&amp;gt;&lt;br/&gt;&lt;br/&gt;Upon testing the study on Inquisit Web (launching the study), the launch page URL in inquisit lists the subjectid = 1 and&amp;nbsp; groupid=1234. First, I believe it should only be 1, 2, 3, or 0, not all combinations, and 4 shouldn't be included. I'm not sure if this is a problem due to having only one &amp;lt;experiment&amp;gt;. I only need one because all of the differences are in the include files.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt s&amp;gt;&lt;br/&gt;/ groupassignment = groupnumber&lt;br/&gt;/ blocks = [1 = welcome; 2 = consent; 3= mturkid; 4=instructions; 5=blocks; 6= demographics; 7= motivation_question; 8= debriefing; 9 = thankyou_completed]&lt;br/&gt;/ onexptend = [values.completed = 1]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;Any assistance with figuring out the proper URL groupid would be much appreciated.&lt;br/&gt;&lt;br/&gt;Thank you&lt;a class="if-quote-goto quote-link" href="#" data-id="27593"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; First, I believe it should only be 1, 2, 3, or 0, not all combinations, and 4 shouldn't be included.&lt;br/&gt;&lt;br/&gt;No, your group IDs are not 1,2,3, or 0. It's the remainder of the group ID that is zero when taking the groupid modulo 4 in the case of groupid = 4 (or some other exact multiple of 4). See &lt;a href="https://www.millisecond.com/forums/Topic13856.aspx"&gt;https://www.millisecond.com/forums/Topic13856.aspx&lt;/a&gt; regarding how condition assignment works mathematically.&lt;br/&gt;&lt;br/&gt;Now, if you want to launch your experiment's 1st condition, you simply set groupid=1 in the address bar and hit enter.&lt;br/&gt;If you want to launch the 2nd condition, you set groupid=2.&lt;br/&gt;If you want to launch the 3rd condition, you set groupid=3, and for the 4th condition you set it to 4.&lt;br/&gt;&lt;br/&gt;Since you're planning to redirect pariticpants to the start page from TurkPrime, you need to configure the MTurk platform to set the groupid parameter to one of the 4 values and forward that information to Inquisit.&lt;br/&gt;</description><pubDate>Tue, 13 Aug 2019 09:11:24 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>