By roy27787 - 2/24/2014
Hey,I have a couple of questions regarding the use of the Inquisit Web. I'm interested in assembling a battery using 4-5 tasks from the task library. I want them to run serially when the user enters the experiment. Before that, I want the user to answer a survey. This process has to happen twice, once in the beginning of the experiment and the other at the end. At the second run though, I need the participant to answer a different survey. My questions are: 1. Is that possible? can i specify a parameter that will replace one survey with another? 2. Will I be able to assign and identify both run scores to the same participants? 3. How can I be sure that the participant doesn't take the battery more than once at the beginning/end of the experiment?
Thanks,
Roy
|
By Dave - 2/24/2014
I assume you mean your surveys provided by a 3rd party (e.g. an online survey platform such as Qualtrics). Inquisit can interact with those platforms via query parameters. You will find this covered in the "How to Interoperate Inquisit Web with Online Survey Packages" topic in the documentation. Please consult the documentation of your survey provider for details re. handling of query parameters on their end.
As for running several Inquisit scripts serially, please see the "How to Combine Multiple Scripts" and "Running Sequences of Inquisit Scripts and Other Applications" topics in the Inquisit documentation.
|
By roy27787 - 2/24/2014
Hey,I actually meant an inquisit survey (using survey and surveypage). How can I include a different one each time (or just include one at the pre manipulation and none post manipulation) ?
|
By Dave - 2/24/2014
Using <batch> elements, which you will find covered in the topics mentioned in the previous reply.
|
By roy27787 - 3/9/2014
Hey,The batch element allows me to control the order of scripts presentation per subject Id, but i'm trying to control what scripts will be presented to each subject (depending on the timing pre manipulation or post manipulation - I use Inquisit for external testing).
Because the web license is limited to one batch as an experiment, I cannot create two separate batch scripts.
How can I control what scripts will be prevented in the batch level?
|
By Dave - 3/9/2014
<batch> elements allow for between-subjects condition assignment via the /subjects and /groupassignment attributes. Suppose you have
<batch pre> [...] / subjects = (1 of 2) / groupassignment = groupnumber </batch>
<batch post> [...] / subjects = (2 of 2) / groupassignment = groupnumber </batch>
then you would pass the applicable groupnumber in to the launch page via a URL query parameter (you have to set up your launch page to retrieve the respective parameter via the Web Script Wizard):
http://research.millisecond.com/myusername/myscript.web?mygroup=1
will deliver the tasks specified in <batch pre>, while
http://research.millisecond.com/myusername/myscript.web?mygroup=2
will deliver the scripts defined in <batch post>.
For coverage of query parameters and interfacing Inquisit Web with online survey platforms, please see the "How to Interoperate Inquisit Web with Online Survey Packages" topic in the Inquisit documentation.h
|
By roy27787 - 3/9/2014
I'm trying to test it via inquisit lab.i've written "/groupassignment = groupnumber" (As is - where groupnumber is not a parameter, just that string). I've also added the subjects line. I ran and entered group =1 at the prompt. i get an error on attribute groupassignment - '1' is not a valid setting.
I also tried "/groupassignment = 1". got the same results..
|
By Dave - 3/9/2014
See the attached example files and you'll find it works exactly as detailed. Entering the digit 1 will run pre.iqx, entering 2 as group id will run post.iqx.
|
By roy27787 - 3/9/2014
Ok, there's a bug in inquisit lab.It continued giving me the same errors until I restarted it (even re opening the script didn't help).
Is mygroup the formal query parameter that will be parsed into GroupID ? Lets say I want to have both respondent id and group id in the query parameter, do I go with: inquisit.com/username/research/example.web?respondentId=123&mygroup=1 ? Will it automatically parse these fields? Also, will these fields be available for the user in the browser? can they be sent via POST ?
|
By Dave - 3/9/2014
> Is mygroup the formal query parameter that will be parsed into GroupID ?
You can give the parameter any valid name. It does not have to be called 'mygroup'.
> Lets say I want to have both respondent id and group id in the query parameter, do I go with:inquisit.com/username/research/example.web?respondentId=123&mygroup=1 ?
Yes.
> Will it automatically parse these fields?
You have to configure your launch page to retrieve the parameters by name. This is done via the Web Script Wizard.
> Also, will these fields be available for the user in the browser? can they be sent via POST ?
Query parameters can be accessed via JavaScript / standard web technologies. They are part of W3C web standards after all. None of this is specific to Inquisit Web.
|
By roy27787 - 3/9/2014
the user will be redirected to:inquisit.com/username/research/example.web?respondentId=123&mygroup=1
If this is visible to him (i.e appearing in the web browser's address bar) I don't want him to start changing the parameters (entering a different group number). GET requests have these parameters visible in the address while POST does not. This is where my question stems from.
|
By Dave - 3/9/2014
Query parameters will indeed be visible in the browser's address bar. Submitting them to millisecond.com-hosted launch pages via HTTP POST isn't possible. If you wanted to do this, you would have to host the launch page on your own web space and take care of the necessary server-side web programming yourself.
Hope this helps.
|
By roy27787 - 3/9/2014
Do you have any documentation regarding hosting the experiment in my web space?
|
By Dave - 3/9/2014
See https://www.millisecond.com/products/Inquisit4/webhosting.aspx.You would have to
(a) figure out how to make your online survey provider submit the relevant parameters to your server via HTTP POST
(b) have your server extract the parameters and
(c) provide the parameter values to the launch page's GetSubjectNumber() and GetGroupId() functions.
|
By roy27787 - 3/9/2014
Thanks.The link does not work though.
|
By Dave - 3/9/2014
> The link does not work though.
It should now (stupid forum added the '.' to the URL).
|