Allow admins to disable skipping of questions
incrn8 - June 11, 2009 - 04:51
| Project: | Quiz |
| Version: | 6.x-3.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
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).

#1
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.
#2
Patch worked fine for me. Many thanks incrn8.
#3
Glad to hear it worked for you.
Changing title back.