Is it possible to disable/prevent the warning for users going backwards in surveys using ToC sidebar

StuartSays
StuartSays Community Member Qubie ✭
edited July 30 in Custom Code

Hi experts,

When using a Table of Contents with a sidebar enabled, users get a warning message when attempting to use the 'Back' button. This does not appear when the sidebar is disabled in the Table of Contents Options (while in Survey Flow).

I'd like to use the sidebar without the warning appearing if possible - can this be done?

The warning is: "We'll temporarily save your work, but answers on this page will not be recorded unless you come back and submit this page." it gives two option buttons: "Go Back" and "Stay on Page".

I'm wondering if there's a solution in settings - or javascript workaround to block the function?

Many thanks!

Best Answer

  • ahmedA
    ahmedA IndiaCommunity Member, XMPN Member Wizard ✭✭✭✭✭
    Accepted Answer

    You'll need javascript for this. Use a mutation observer to detect it's presence and then click the button.

Answers