How to Redirect to Multiple Inquisit Tasks from Qualtrics


Author
Message
aghartley
aghartley
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Awaiting Activation
Posts: 16, Visits: 127
Hello,

I am creating a study in which participants will fill out a Qualtrics form that will contain 5 distinct links that direct them to a different Inquisit task each time (e.g., Stroop, Dot Probe, etc). I've obtained the licence to Inquisit 4 Web and see that it is possible to create a link to the entire string of tasks all together, but I need a different link for each task (one for Dot Probe, one for Stroop, etc). Currently each task is written in a different inquisit (.iqx) file. I see that the Millisecond FAQ recommends the batch element for putting tasks together, but I don't think that can work for this case if I need the tasks to each have a separate link. Participants will not need to be redirected back to the qualtrics form after each task as the instructions direct them to press Cntrl Q.
My questions are:
1) It is possible to do this?
2) Do I need to put all of the code for each task into one Inquisit file? (i can do this, but the the code is lengthy).

Any help is appreciated, and apologies if this question has been asked before.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You can use <batch> elements. You set up one <batch> element for each task and pass the task to run via an URL query parameter. See e.g. https://www.millisecond.com/forums/Topic13139.aspx

aghartley
aghartley
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Awaiting Activation
Posts: 16, Visits: 127
Thanks so much for your prompt help, but a few clarification questions regarding the batch element for my problem:

1) All participants are in the same condition. So that would mean that I would leave out the "/subjects" line, correct?
2) Importantly, how exactly do I tell inquisit which "group" is which?

I used the following code in the main active Inquisit web file:

<batch>
/ file = "LexicalDecisionTask.iqx"
/ groupassignment = groupnumber
</batch>

<batch>
/ file = "SimpleReactionTime.iqx"
/ groupassignment = groupnumber
</batch>

And the used the following for redirecting the participants: 

research.millisecond.com/(myusername)/thresholdtask.web?condition=1  ....used for the link to the lexical decision task.
research.millisecond.com/(myusername)/thresholdtask.web?condition=2  ....used for the link to the simple reaction time task.

What am I missing here? 

Sorry for my confusion.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
(1) No, you may not leave out the /subjects attribute. It -- along with the /groupassignment attribute -- will tell Inquisit which script to run based on the parameter you pass in.

(2) That's what the /subjects attribute does.

aghartley
aghartley
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Awaiting Activation
Posts: 16, Visits: 127
Great--thanks. This worked.

One more question: Is it possible for the Inquisit web task to open in a separate browser window so the participant can go back and forth from the task to their qualtrics form as needed? If so, how?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
No, not really. An Inquisit Web experiment does not actually run in a browser window. What you can do is set your experiments to run in "windowed" mode by setting specifying the <defaults> element's /windowsize attribute. See the documentation for details.

However, I would strongly recommend *against* switching back and forth between Inquisit and other applications (e.g. your browser / survey) -- it will mess up the timing and cause other issues.

Tags
aghartley
aghartley
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Awaiting Activation
Posts: 16, Visits: 127
Got it. Thanks for the help!
aghartley
aghartley
Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)Distinguished Member (3.3K reputation)
Group: Awaiting Activation
Posts: 16, Visits: 127
Just a quick follow-up to this thread for those who are interested. It is possible to have the inquisit window open up in a separate tab or browser window from Qualtrics if you needed to design a study where the participant had access to both. The default setting in Qualtrics is that the Inquisit window will take over the survey window temporarily while the participants complete the task, and you can redirect participants back to the Qualtrics survey through a link when they are finished with the task. However, there may be some cases where you'll need to let participants have access to both the survey and the task simultaneously or intermittently. For example, our lab was designing a study where we wanted to know participants' evaluations of a cognitive task while they were completing it.

To achieve this, do this through Qualtrics when you insert the link to the Inquisit Web study.
-Go to the "Rich Content Editor" to insert the link.
-When inserting the link to the study, click the "Target" tab, and choose "New Window (_blank)". This will open Inquisit in a new tab.
-Alternatively, if you wanted the task to pop up in a different browser window, you could choose "<popup window>"

Do note that if you want to do this, as Dave indicated, you will need to be sure to set Inquisit's defaults, window size in the code to something smaller than full screen. For example, I used 80%, 80% for the purposes of my experiment. When set to full screen, Inquisit will take over the screen, as usual, and participants won't have easy access to the survey until they are finished with the task.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search