• Hey, I was wondering if there is any way to prevent the user from refreshing or leaving a quiz. Maybe a warning before he does? Right now I tried my quiz I if i refresh i get to the first page out of 4 and have to run through the questions (which are already marked) again.

    Pls help me

Viewing 5 replies - 1 through 5 (of 5 total)
  • I too wish for the same

    This is the most annoying behavior of the plug in

    I put a work around fix by editing the front end java script. It will display the standard “Changes you made may not be saved. Are you sure you want to reload?” message if the user is reloading, clicking back button, or going to some other page. I also added a check at the end of the test to make sure the AJAX request to the server to post the results are successful. There was couple of instances where there was some network error at the user end and the results was’t recorded at the backend. Please let me know if you want me to share the solution.

    Thread Starter abstractAJ

    (@abstractaj)

    @arunkott That sounds exactly what I need, would be amazing if you could share it with me ??

    I have updated the wpProQuiz_front.js file
    wp_pro_quiz_front_js

    please note that the minified version of this file will be used by the program. Either you can minify the above js or use this minified version to replace wpProQuiz_front-min.js

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Refreshing and leaving quiz’ is closed to new replies.