jsPsych Study with Abort Button
I want to add a Cancel button to my jsPsych study. When using the methods described here, it works fine. However, I would like to use the jatos.addAbortButton() function to reduce the code (it also looks nicer and prompts the do you really want to quit question). I have tried numerous ways to include it in the jsPsych study, but none of it seems to work.
Can someone give advice on where/how to use jatos.addAbortButton() in a jsPsych study?
Thanks in advance!