Quiz: Can I prevent respondent from going back to previous pages

By: Soren Nicolaisen | Asked: 11/10/2022
ForumsCategory: How-toQuiz: Can I prevent respondent from going back to previous pages
Soren NicolaisenSoren Nicolaisen asked 2 years ago

Hi everyone! I´m working on an advanced Quiz page, and find that the FF Quiz modules are the best in the marked, though:

When I use the pagedevider, I get 2 bars in the the button of each page. "Previous" and "Next".

I would like to delete the "previous" possibility, but I can't find out how. The reason for that is, that I don't want users to be able to go back and change their answers, because when the respondent gets further into the Quiz, she will get some of the the answers to previous questions in the text provided by me. 

Is it possible to solve this? I have the business membership. I might upgrade for Elite if needed.

Hope someone can help me with this :D  

1 Answers
Victor Font answered 2 years ago

You can hide the previous button with CSS. You can do this either by adding the CSS directly to the form's HTML on the form's Customize HTML page or by including custom CSS on the Custom CSS page. You should know that hiding the button doesn't prevent someone from using the browser's back button. For that, you need custom jQuery: https://stackoverflow.com/questions/71183211/prevent-user-from-clicking-browsers-back-button

Soren NicolaisenSoren Nicolaisen replied 2 years ago

Thank you Victor. I do not know what to write in CSS in the forms HTML here, but It sound like a solution I can look into.

Because of the need to use jQuery I was thinking if it is possible instead to lock the answer to any question with CSS, when the respondent go to the next page, so that if he enters previous pages, he won't be able to change or rewrite his previous answers. The answers are either typed as text or chosen in a radio button field. Do you know if that is possible?

Tank you in advance

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right