Hi,
After my holidays back to looking at Scale. Scale submodule is looking great thanks for building it!
One thingy though. When I do not select any option, say excellent..very poor. It is still moving to the next question.
In my opinion there should then be shown
1- a warning message (admin input), that no selection is made OR
2- a error message (admin input) that a selection must be made.

Thanks for considering this!
I do not know if this is the thing with all questiontypes, right now I am looking into scale, and there this option is not available.

Greetings,
Martijn

Comments

summit’s picture

Title: Scale: no selection possible then warning/errormsg needed before going to next question » Scale: no selection made then warning/errormsg needed before going to next question

Sorry typo in title.
greetings, Martijn

summit’s picture

After consulting Sivaji and Mbutcher they came up with a quick fix.

quick fix is to set  $allow_skipping  = FALSE; in quiz module line no ~ 988

Warning message will then be shown. "You must select an answer before you can progress to the next question!"

Still it would be great if this would be a UI thing, with Warning Message admin-controlled.
Greetings,
Martijn

sivaji_ganesh_jojodae’s picture

Title: Scale: no selection made then warning/errormsg needed before going to next question » quiz form field to turn on/ off questions skipping
Component: Code » Code - Quiz module
Status: Active » Needs review
StatusFileSize
new7.43 KB

@summit this behaviors is controlled by quiz module. Attached is a patch which adds a new checkbox to quiz node form which can be used to turn on/off question skipping. Committed to quiz 4.x-dev.

pebosi’s picture

When using with short answer questions the patch is not working. if the answer is empty it should deny to go to next question or?

falcon’s picture

Status: Needs review » Closed (duplicate)

I close this issue as it is already being addressed by another issue.