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

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


Forum|alt.badge.img+3
  • Level 1 ●
  • 24 replies
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.

Best answer by MohammedAli_Rajapkar

Put the code of hiding the next button in the header part of "Look&Feel" section
View original

4 replies

Forum|alt.badge.img+3
  • Author
  • Level 1 ●
  • 24 replies
  • October 2, 2018
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(); });

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
Put the code of hiding the next button in the header part of "Look&Feel" section

BethG
Forum|alt.badge.img
  • 3 replies
  • June 11, 2019
Was there ever a better solution to this issue? I am designing a similar survey and not having any luck.

Forum|alt.badge.img
  • 2 replies
  • May 10, 2022

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


Leave a Reply