n-back task on Qualtrics | XM Community
Question

n-back task on Qualtrics

  • 26 October 2023
  • 1 reply
  • 124 views

Userlevel 3
Badge +2
  • Level 2 ●●
  • 21 replies

Hi all,

I’m trying to run the n-back working memory task on Qualtrics (using the JavaScript code from an existing academic paper: https://www.tqmp.org/RegularArticles/vol19-2/p136/p136.pdf), but when I try to use it in Qualtrics, I get the following error: “Invalid JavaScript! You cannot save until you fix all errors: Unexpected token )”. Any ideas of what might be wrong (e.g., indentations/spacing issues)? I’d really appreciate the help! Attached is a word document of the code.

 


1 reply

Badge

Any luck with this? All help would be appreciated!

Leave a Reply