n-back task on Qualtrics | XM Community
Skip to main content

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.

 

Any luck with this? All help would be appreciated!


Leave a Reply