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

n-back task on Qualtrics

  • October 26, 2023
  • 1 reply
  • 193 views

Forum|alt.badge.img+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

Forum|alt.badge.img
  • 4 replies
  • April 14, 2024

Any luck with this? All help would be appreciated!