Our client wanted their users to not skip questions accidentally by pressing Next twice. I couldn't find a Skip option anywhere in the UI, so I simply enabled Backwards navigation to handle that scenario. However, I was looking through the code and saw you already have a skip check variable in place, and all that was really missing was a UI option. I did some quick modifications and now there is a Global setting for Allowing Skipping (on by default).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

davemybes’s picture

Here are the two patches (I don't know how to make one patch for two files yet). One is for quiz.module and the other is for quiz.admin.inc.

RogerBailey’s picture

Title: Allow admins to disable skipping of questions » Tested OK

Patch worked fine for me. Many thanks incrn8.

davemybes’s picture

Title: Tested OK » Allow admins to disable skipping of questions

Glad to hear it worked for you.

Changing title back.

djdevin’s picture

Component: Code » Code - Quiz core
Issue summary: View changes
Status: Needs review » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.