How to move to a different block with javascript? | XM Community
Skip to main content
I have a countdown timer setup for a question and I want to be able to move the participant to a different block with a warning informing them to respond faster before moving them back and restarting the question block and I just can't figure out the code for it. Any help would be greatly appreciated!
The only way to move to a new block is to click the Next button (or the Jump button if you are using a table of contents):

```

jQuery("#NextButton").click();

```
Ah that's annoying, in that case is there a way for me to show a warning message before restarting the block of questions? I checked online and saw that there was a way to show an image on top of the question block but I'm still unsure how to restart the questions.
To repeat a question block you need to duplicate it in the survey flow. The questions that were answered the first time will already be answered the second time.

Leave a Reply