Submit a block and Move to TOC rather than "Next"? Maybe with jQuery? | XM Community
Solved

Submit a block and Move to TOC rather than "Next"? Maybe with jQuery?

  • 2 October 2018
  • 4 replies
  • 27 views

Userlevel 2
Badge +3
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.
icon

Best answer by MohammedAli_Rajapkar 3 October 2018, 17:16

View original

4 replies

Userlevel 2
Badge +3
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();
});
Userlevel 7
Badge +20
Put the code of hiding the next button in the header part of "Look&Feel" section
Badge
Was there ever a better solution to this issue? I am designing a similar survey and not having any luck.
Badge

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

Leave a Reply