I'm having some problem with the backwards navigation feature, where users can go back and review their previous selected answers.
It would be nice if the previous answers on a question was selected, so with the 'selected' class attached.

It would do it myself using the session data 'previous_quiz_questions' but when you go back in the quiz the data gets cleared. Is there a way to select your previous answers or keep the stashed previous quiz answers in the session?

Comments

djdevin’s picture

Status: Active » Closed (won't fix)

Hi,

I don't think this will be fixed for 7.x-4.x.

However we have this functionality in 5.x so you should explore using that version instead.

Renee S’s picture

Version: 7.x-4.0-beta2 » 7.x-5.x-dev
Status: Closed (won't fix) » Active

This functionality doesn't appear to work in 5.x either, either on backwards nav or when selecting "Keep answers from last attempt?"

djdevin’s picture

Hi,

I can't reproduce this at all. Can you provide your steps to reproduce, and also please try with a clean D7 to eliminate other modules that may be altering the form.

1) Create a quiz
2) Add two TF questions
3) Take the first TF question, submit answer
4) Click back
5) Verify previous answer is stored

There is also a passing test in QuizResultTestCase::testBuildOnLastAttempt() that checks to see if previous answers are stored.

Renee S’s picture

I'm not using True/False, I'm using Multichoice. This is a clean install with no other modules.

djdevin’s picture