Hello,

While trying to figure out my issue noted here (multiples, btw):
6.x #1405772: quiz display solution
7.x #1545600: Display solution not working

I also have the need for additional functionality with this option. Some of the quizes that I implement should display feedback only when a user passes the test. So if a user takes it, and fails, they should not be displayed the solution.

To me, it seems like the "Display Solution" toggle, should be changed into a radio group with the following options:

Solutions Display:
- Always Display Solution
- Display Solution Upon Passing Quiz
- Never Display Solution

Thoughts?
-

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drewbe121212’s picture

Status: Active » Needs review
FileSize
2.71 KB

Please see the attached patch (rolled against 7.x-4.x) for adding a third display feedback option to the list, under the 'taking' option when configuring a quiz.

The options are now
- Never display a solution
- Always display a solution
- Display solution only when the user passes the quiz

There are no architecture updates.

drewbe121212’s picture

Issue summary: View changes

Updated relevant issues.

drewbe121212’s picture

Did this ever get included in the core?

ganesan g’s picture

Issue summary: View changes
FileSize
2.53 KB

It looks like a interesting feature. @drewbe121212 since the patch which you gave is the old one, i have uploaded the recent patch for this. Patch is working fine.
@sivaji please review the patch and update.

drewbe121212’s picture

Version: 7.x-4.x-dev » 7.x-5.x-dev

Hi Ganesan,

Thanks for the re-roll. Did you apply this against 7.x-5.x-dev? If so, I will update the issue to reflect appropriately.

This will be a nice one to get included, and it fixes the aforementioned other issues (3 issues with one fix, yay!). Would be great to see this included.

ganesan g’s picture

Status: Needs review » Postponed

@drewbe121212 7.x-5.x is not in use. It is not yet started. So when started the development of 7.x-5.x, this feature may be included in quiz.

drewbe121212’s picture

Version: 7.x-5.x-dev » 7.x-4.x-dev
Priority: Normal » Major