I have a Qualtrics question that involves participants drawing on an HTML5 Canvas element, and then saves their drawing (using dataToUrl). Below, on the same page, is another question that has forced response enabled. I need it to be on the same page as the Canvas question.
The issue is that when Force Response is triggered, the page essentially refreshes - any code in Qualtrics.SurveyEngine.addOnload() is triggered again, meaning that all the canvas initialization scripts are triggered again, erasing whatever has been drawn.
Is there a way to stop Force Response from re-running whatever is in Qualtrics.SurveyEngine.addOnload?
Best answer by nroot
View original