JATOS Uncaught TypeError: Cannot read properties of undefined
in OSWeb
Hello all,
I am experiencing an issue running my experiment through a browser & JATOS. The task I have crated is a letter comparison test that requires a timeout of 30000 ms. for subject responses to be collected. I implemented an in-line script that is allowing my test to run successfully in quick-run, however, no luck elsewhere. I am aware that the issue with my test is located within my in-line script, but I am seeking feedback on how I may edit the script language so that it may be compatible with JATOS, OR, if/how others have implemented a timeout element that is compatible with JATOS.
Thank you!
Comments
Hi,
You are trying to execute a Python inlineScript in Osweb. That isn't possible (Python code is not supported in the browser). You need to use a javascript inline script (and probably adapt your code some what). For more information see the documentation on javascript in Osweb.
Eduard
@eduard
Thank you for the feedback. Are you able to point me in the direction of a resource that discusses how to implement a TimeOut using javascript? I have not had any luck searching, I would appreciate some help learning the specific language needed to implement this.
@Fab can you help out?