Note: please post a one liner if this post was helpful to you.
I am finally able to figure out how to code a smart tag to disable the browser back button for quiz’s.
I searched long and hard to find a similar solution but never was able to find one but now it seems I have the perfect solution where it blocks users from hitting the back button in the browser and changing their answers in the quiz questions by selecting a different radio button from previous submit action.
The trick is simple yet it looks so complex and it retains the forward button as well because the page was just refreshed.
//sample by blog.wasay.net
Have fun coding.
Post a Comment