• Resolved Henry

    (@henrychea)


    Hi Harmonic, I don’t know if it’s possible but can we change it to keep the answers checked if the page is refreshed before the next button is pressed?

Viewing 1 replies (of 1 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi rathianSpike,
    unfortunately there is no real way to do this so that it works across all browsers and stuff, while also being secure. This is how all form elements work on the web.

    One thing you can do if you want is to add a JavaScript warning if the page is refreshed or the user clicks on the “back” button to let users know that if they leave, their progress will be lost. Something like this.

    
    <script>
    window.addEventListener('beforeunload', hdConfirmExit);
    
    function hdConfirmExit(ev){	
      let confirmationMessage = "\o/";     
      ev.returnValue = confirmationMessage;           
      return confirmationMessage; 
    }
    </script>
    
Viewing 1 replies (of 1 total)
  • The topic ‘Keep questions selected’ is closed to new replies.