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

red5red5 UtahCommunity Member Qubie ✭

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

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

Answers

  • red5red5 UtahCommunity Member Qubie ✭

    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();
    });
    
  • BethGBethG FloridaCommunity Member Qubie ✭

    Was there ever a better solution to this issue? I am designing a similar survey and not having any luck.

Sign In to Comment