Shuffle widget re-shuffles question after refreshing page

  • docente.andy
    Asked on October 24, 2020 at 3:36 AM
    how can I avoid that shuffle widget works twice o more times before answer submission? It happens when refresh (F5) before the submission.
  • Vanessa_T
    Replied on October 24, 2020 at 3:39 AM

    Please note that the form does not have an auto save functionality as such, it is not advisable to refresh the page and it is an expected behavior that all scripts are re-initialized including the shuffle widget.

    May I ask why you need to refresh the page before submission?

  • docente.andy
    Replied on October 24, 2020 at 4:00 PM

    I do not need refresh before submissions, but I am a teacher and I want to avoid that students can choose the ten questions that they consider easier before submission (using F5).

  • John Support Team Lead
    Replied on October 24, 2020 at 6:21 PM

    Unfortunately, this is no option for this in the widget. Note that the widget works every time the form is loaded/reloaded.

    What's possible I think is to disable f5 or the reload button of the browser. You can use custom JS or JQuery scripts to achieve this, however, this might require familiarity with the said programming languages. So what you'll need to is to embed the form into your webpage and on that webpage, add the custom codes to disable page reload or f5. Here's a link for your reference: https://stackoverflow.com/questions/2482059/disable-f5-and-browser-refresh-using-javascript/7997282#7997282