Hello All,
I am trying to program the Harvard Implicit Association Test (IAT) in my survey.
I’ve written a JavaScript code embedded in a question block modeled after this example to execute the IAT in a Qualtrics survey: https://minnojs.github.io/minnojs-blog/qualtrics-iat/
Everything works within the embedded code block, and I get output from the survey. I’d like to take the output from the Qualtrics IAT that I’ve programmed to create branch logic based on the output. However, the output is very messy, as you can see here:
I would like to extract just the information I have outlined in red. Does anyone know of a way to easily extract this information from the output and use it in another embedded code block for branch logic? I can get the information out and present it to the survey taker, but I can’t figure out how to get it out in a way that’s usable for branch logic.
Thanks!