Hello,

I have been searching everywhere for an answer for this. I hope it isn't just my lack of searching abilities.

I am using Quiz module for an assessment that the users are allowed to skip and come back to the question at a later time (resume) using the "Leave blank" option.

My roadblock is, Users must answer all the questions before they submit the final question but the skipping option that allows them to leave the question blank and move on to the next question and that technically answers the question for them as "blank" and applies no points.
Which messes up our data collection because we need them to answer ALL questions. :(

Does anyone have any ideas how to make sure all question have a "valid" answer upon submit? I have Quiz Process enabled so the users can see their un-answered questions but I just can't let them submit "blank" answers at the end.

I hope I am explaining this correctly for people to help. I also hope I am posting it in the correct place.

Versions: Drupal 7, Quiz version = "7.x-5.1",

Thank you! Love this module!

Comments

jumpthattb created an issue. See original summary.

djdevin’s picture

Hi,

Currently there's no option to ensure that they've answered all skipped questions in Quiz core. But, you could easily use custom code to do this if you wanted to.

The final question is a form (for any question it is quiz_question_answering_form), so if you were to add custom validation to it through normal Drupal means, you could check to see if all the questions had been answered. The user wouldn't be able to submit the last question until your validation passed.

Without custom code though, you could add a Quiz directions questions right after the last question, which could tell the users to make sure they have answered all their questions. At least that would be a roadblock to the user ("are you sure?").

jumpthattb’s picture

I meant to reply to this a while back. :)

I ended up using a pop-up message at the end of the quiz that stated they must answer all questions or their results will be discarded.
:)

djdevin’s picture

Status: Active » Fixed

There was actually supposed to be a warning popup at the end of the quiz, but it was broken.

It was restored in #2913831: Confirmation alert

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.