﻿<?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  » Inquisit Web 4 Probles: Batch Script/Entering description for User ID/Group Assignment</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 09 Sep 2026 05:07:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Inquisit Web 4 Probles: Batch Script/Entering description for User ID/Group Assignment</title><link>https://forums.millisecond.com/Topic18603.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I am trying to run a script for the first time using Inquisit 4 Web. It is a batch script which just pulls up two reaction time tasks (one IAT and one modified from a LDT script). I am able to run the script BUT I am having issues with the "User ID" and "Group ID" portions of the web script setup. For Subject IDs I select "User entered" and "non-numeric". There are two issues here:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;1. After selecting "User entered" it says "Enter the message instructing participants to enter a subject ID." I try to update the text but when I save it just defaults back to the original text (Please enter your ID) and won't save my edits.&lt;br/&gt;&lt;br/&gt;2. I select "non-numeric" for the ID because I want participants to enter the MTurk ID. However, if I then enter a non-numeric ID when testing the script, I get a series of errors stating that it cannot find block 1 and block 1 is unassigned and then "2. I select "non-numeric" for the ID because I want participants to enter the MTurk ID. However, if I then enter a non-numeric ID when testing the script, I get a series of errors stating that it cannot find block 1 and block 1 is unassigned and then "2. I select "non-numeric" for the ID because I want participants to enter the MTurk ID. However, if I then enter a non-numeric ID when testing the script (ID = 'test'), I get a series of errors stating that it cannot find block 1 and block 1 is unassigned and then "Invalid Subject ID 'test'. The group assignment method requires a numeric ID."&lt;br/&gt;--If I enter a numeric ID, the script runs. If I enter a non-numeric ID, the script gets these errors even though it says "non-numeric" as the option under "Subject ID" when I check on the web script setup.&amp;nbsp;I don't have any group assignment in my scripts, but I am forced to select how the group ID is chosen, there is no option for no group ID. So is there a choice that will allow me to use a nonnumeric ID? I tried all except the separate URL and they all lead to the same error.&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;Amie&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 27 Feb 2020 19:11:42 GMT</pubDate><dc:creator>EHP Lab</dc:creator></item><item><title>RE: Inquisit Web 4 Probles: Batch Script/Entering description for User ID/Group Assignment</title><link>https://forums.millisecond.com/Topic28392.aspx</link><description>&lt;blockquote data-id="28391" class="if-quote-wrapper" unselectable="on" data-guid="1582830625302" id="if_insertedNode_1582830624278" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="28391" 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="28391" 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="28391" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Lydon Lab IT Assistant - 2/27/2020&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-28391"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="18605" class="if-quote-wrapper" unselectable="on" data-guid="1582830625302" id="if_insertedNode_1582829170966" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="18605" 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="18605" 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="18605" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/14/2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-18605"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&amp;gt; 1. After selecting "User entered" it says "Enter the message instructing participants to enter a subject ID." I try to update the text but when I &lt;br/&gt;&amp;gt; save it just defaults back to the original text (Please enter your ID) and won't save my edits.&lt;br/&gt;&lt;br/&gt;This is a bug in the configuration wizard. As a workaround, you can select the 'Custom JavaScript' option and paste in the following code:&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMask&amp;nbsp; = /^\s*\S.*$/;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMessage = "Please enter your MTurk ID:";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptError = "The ID you entered was invalid.";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( PromptResult == null )&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompt();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return PromptResult&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;nbsp; I don't have any group assignment in my scripts&lt;br/&gt;&lt;br/&gt;This is incorrect. You *do* have group assignment in your scripts, at the very least in your IAT. If not specified otherwise in the respective script's &amp;lt;expt&amp;gt; and/or &amp;lt;variables&amp;gt; elements, the /groupassignment method Inquisit assumes by default is 'subjectnumber'. Condition assignment is a mathematical operation, i.e., it requires a *numerical* input to work.&lt;br/&gt;&lt;br/&gt;You need to switch the /groupassignment to 'groupnumber' as in&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (2 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;and/or &lt;br/&gt;&lt;br/&gt;&amp;lt;variables&amp;gt;&lt;br/&gt;/group =(1 of 2) (...)&lt;br/&gt;/group = (2 of 2) (...)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/variables&amp;gt;&lt;br/&gt;&lt;br/&gt;respectively.&lt;br/&gt;&lt;br/&gt;Then set the launch page to generate a random *numerical* group id.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="18605"&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;Hello, I tried to increase the length of the message but it doesn't fit the initial window. Is there any way to change the window size. I tried both javaScript and user entered mode, both of them couldn't fit the white window that pop up when I press the start. Where can I get the instructions for javaScript?&lt;br/&gt;&lt;br/&gt;This is what I wrote:&amp;nbsp; &lt;br/&gt;&lt;br/&gt; PromptMask  = /^\s*\S.*$/;&lt;br/&gt; PromptMessage = "Please enter your SONA ID: If you are not participating for course credit, please put in your ID according to the following instructions: Date of Birth in 2 digits, Month of Birth in 2 digits and the last three digits of your phone number &lt;br/&gt;(For eg. If you were born on March 8th and your phone number is 2222222222, your ID number will be 0803222)"&lt;br/&gt;&amp;nbsp; PromptError = "The ID you entered was invalid.";&lt;br/&gt;&amp;nbsp; if ( PromptResult == null )&lt;br/&gt;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;  Prompt();&lt;br/&gt;&amp;nbsp; }&lt;br/&gt;&amp;nbsp; return PromptResult &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="28391"&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;It's not really possible to increase the size of the prompt box so drastically. Instead consider putting those lengthy instructions on the start page's body.</description><pubDate>Thu, 27 Feb 2020 19:11:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Inquisit Web 4 Probles: Batch Script/Entering description for User ID/Group Assignment</title><link>https://forums.millisecond.com/Topic28391.aspx</link><description>&lt;blockquote data-id="18605" class="if-quote-wrapper" unselectable="on" data-guid="1582829172545" contenteditable="false" id="if_insertedNode_1582829170966"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="18605" 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="18605" 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="18605" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/14/2016&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-18605"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&amp;gt; 1. After selecting "User entered" it says "Enter the message instructing participants to enter a subject ID." I try to update the text but when I &lt;br/&gt;&amp;gt; save it just defaults back to the original text (Please enter your ID) and won't save my edits.&lt;br/&gt;&lt;br/&gt;This is a bug in the configuration wizard. As a workaround, you can select the 'Custom JavaScript' option and paste in the following code:&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMask&amp;nbsp; = /^\s*\S.*$/;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMessage = "Please enter your MTurk ID:";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptError = "The ID you entered was invalid.";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( PromptResult == null )&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompt();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return PromptResult&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;nbsp; I don't have any group assignment in my scripts&lt;br/&gt;&lt;br/&gt;This is incorrect. You *do* have group assignment in your scripts, at the very least in your IAT. If not specified otherwise in the respective script's &amp;lt;expt&amp;gt; and/or &amp;lt;variables&amp;gt; elements, the /groupassignment method Inquisit assumes by default is 'subjectnumber'. Condition assignment is a mathematical operation, i.e., it requires a *numerical* input to work.&lt;br/&gt;&lt;br/&gt;You need to switch the /groupassignment to 'groupnumber' as in&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (2 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;and/or &lt;br/&gt;&lt;br/&gt;&amp;lt;variables&amp;gt;&lt;br/&gt;/group =(1 of 2) (...)&lt;br/&gt;/group = (2 of 2) (...)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/variables&amp;gt;&lt;br/&gt;&lt;br/&gt;respectively.&lt;br/&gt;&lt;br/&gt;Then set the launch page to generate a random *numerical* group id.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="18605"&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;Hello, I tried to increase the length of the message but it doesn't fit the initial &amp;#119;indow. Is there any way to change the window size. I tried both javaScript and user entered mode, both of them couldn't fit the white window that pop up when I press the start. Where can I get the instructions for javaScript?&lt;br/&gt;&lt;br/&gt;This is what I wrote:&amp;nbsp; &lt;br/&gt;&lt;br/&gt; PromptMask  = /^\s*\S.*$/;&lt;br/&gt; PromptMessage = "Please enter your SONA ID: If you are not participating for course credit, please put in your ID according to the following instructions: Date of Birth in 2 digits, Month of Birth in 2 digits and the last three digits of your phone number &lt;br/&gt;(For eg. If you were born on March 8th and your phone number is 2222222222, your ID number will be 0803222)"&lt;br/&gt;&amp;nbsp; PromptError = "The ID you entered was invalid.";&lt;br/&gt;&amp;nbsp; if ( PromptResult == null )&lt;br/&gt;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;  Prompt();&lt;br/&gt;&amp;nbsp; }&lt;br/&gt;&amp;nbsp; return PromptResult &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Thu, 27 Feb 2020 18:57:44 GMT</pubDate><dc:creator>Lydon Lab IT Assistant</dc:creator></item><item><title>RE: Inquisit Web 4 Probles: Batch Script/Entering description for User ID/Group Assignment</title><link>https://forums.millisecond.com/Topic18605.aspx</link><description>&amp;gt; 1. After selecting "User entered" it says "Enter the message instructing participants to enter a subject ID." I try to update the text but when I &lt;br/&gt;&amp;gt; save it just defaults back to the original text (Please enter your ID) and won't save my edits.&lt;br/&gt;&lt;br/&gt;This is a bug in the configuration wizard. As a workaround, you can select the 'Custom JavaScript' option and paste in the following code:&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMask&amp;nbsp; = /^\s*\S.*$/;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptMessage = "Please enter your MTurk ID:";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PromptError = "The ID you entered was invalid.";&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( PromptResult == null )&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prompt();&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return PromptResult&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;nbsp; I don't have any group assignment in my scripts&lt;br/&gt;&lt;br/&gt;This is incorrect. You *do* have group assignment in your scripts, at the very least in your IAT. If not specified otherwise in the respective script's &amp;lt;expt&amp;gt; and/or &amp;lt;variables&amp;gt; elements, the /groupassignment method Inquisit assumes by default is 'subjectnumber'. Condition assignment is a mathematical operation, i.e., it requires a *numerical* input to work.&lt;br/&gt;&lt;br/&gt;You need to switch the /groupassignment to 'groupnumber' as in&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (1 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;...&lt;br/&gt;/ subjects = (2 of 2)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;and/or &lt;br/&gt;&lt;br/&gt;&amp;lt;variables&amp;gt;&lt;br/&gt;/group =(1 of 2) (...)&lt;br/&gt;/group = (2 of 2) (...)&lt;br/&gt;&lt;strong&gt;/ groupassignment = groupnumber&lt;/strong&gt;&lt;br/&gt;&amp;lt;/variables&amp;gt;&lt;br/&gt;&lt;br/&gt;respectively.&lt;br/&gt;&lt;br/&gt;Then set the launch page to generate a random *numerical* group id.&lt;br/&gt;</description><pubDate>Mon, 14 Mar 2016 14:57:38 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>