The survey I’m developing has two blocks in close proximity to each other. These blocks both have Timing questions.
The Timing question in Block A (the first block) has “Display ‘submit’ after 300 seconds” and “Auto-advance after 600 seconds” enabled. So participants are not able to proceed to the next block before 5 minutes have passed. If they finish after 5 minutes and before 10 minutes, they may proceed to the next block voluntarily. If 10 minutes have passed, the block will auto-advance.
The Timing question in Block B (the second block) has “Display ‘submit’ after 300 seconds”. However, when previewing my survey (and in one case of running my survey), the block auto-advances. Based on timing, I have basically confirmed that Block B is auto-advancing based on the “Auto-advance” feature in Block A.
I looked online for answers. The only solution that seemed viable was to use
Qualtrics.SurveyEngine.addOnPageSubmit(function() {
clearTimeout(to); // Clear the timer to prevent auto-advance
});
or
Qualtrics.SurveyEngine.addOnUnload(function() {
clearTimeout(to); // Clear the timer to prevent auto-advance
});
on the JavaScript for Block A. However, neither of these codes worked. If anyone has a better solution for preventing the auto-advance timing in Block A from affecting Block B, I would really appreciate it.