Submit a block and Move to TOC rather than "Next"? Maybe with jQuery? | XM Community
Skip to main content
Is there Javascript that will submit a block's content, but then skip back to the TOC overview rather than going to the next question? I can trigger a NextButton.click(), but that goes to the next question rather than back up to the TOC.



Ideally, the end of the block would have a only a button for the TOC and not a Next. I can easily hide the Next button with CSS. The problem is that the info on that block is never "submitted."



I know this question sounds a little nutty. Sorry.
Since I have a TOC button in the #Buttons div (called #JumpButton), this works, but it's sloppy. The next question flashes on the screen briefly before the TOC appears. I need something more elegant.



Qualtrics.SurveyEngine.addOnUnload(function()

{

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

});
Put the code of hiding the next button in the header part of "Look&Feel" section
Was there ever a better solution to this issue? I am designing a similar survey and not having any luck.

Wondering if anyone has come up with a solution to this yet?


Leave a Reply