Digit Span Task in Qualtrics

The pandemic makes online psychological experiments very needed in the past few months. One commonly used tool is Qualtrics.

I don’t have too many complains about Qualtrics except for its ability to DIY cognitive tasks. I don’t see why they don’t include this feature as many of us already bought their most expensive plans.

Nevertheless, there are alternative ways to run cognitive tasks with Qualtrics surveys. One way is to use Inquisit Web. But we all know that participants really don’t like to download and install any software in their personal devices, so we see many participants drop out the study due to this reason. May I say that we are lucky enough if we can have 50% participants complete the Inquisit Web-based cognitive tasks? Other ways to run online cognitive tasks include the PsychoPy and PsyToolkit, but I won’t talk about them in this article.

The ideal way to run cognitive tasks along with Qualtrics survey, of course, is to run cognitive tasks within Qualtrics.

Here is an example of running digit span task within Qualtrics. I need to explicitly state that, the code is not from me. I developed my own working version with the help from Dr Becky Gilbert (@BeckyAGilbert). You can find her at https://www.mrc-cbu.cam.ac.uk/people/becky.gilbert/. And of course, if you do use the task and the code, it would be appreciated either a citation or acknowledgment. You should also cite the QRTE paper: https://link.springer.com/article/10.3758/s13428-014-0530-7 .

You can find Dr Becky Gilbert’s Digit Span Task at this link: https://uclpsych.eu.qualtrics.com/jfe/form/SV_55fg8t1Q3MGO8U5?Q_JFE=qdg. The first half of the task works fine but the second half does not work. This is because QRTE JavaScript library is no longer supported.

Here is the QSF file that exported from Qualtrics.

To get it to work properly, you may need to go into the survey settings and remove any default styling that your institution applies to Qualtrics surveys. You’ll want to use the plain/basic styling option for this task. You can also look at the QRTE documentation for more information about how it works: http://www.qrtengine.com/

In my case, I have to put the forward and backward parts separately into two Qualtrics surveys, otherwise it just won’t work. I would recommend you do the same thing.