Closed (fixed)
Project:
Mechanical Tutor
Version:
7.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 20:55 UTC
Updated:
19 Nov 2012 at 22:50 UTC
It's not really optimal to use drupal_set_message() for delivering the feedback from answer evaluations – the message should be presented at the same place as the question and not risk being confused with system messages.
Have the result be a part of the actual $form array, and presented above the question.
Investigate how $form_state might be used to do this. Maybe this would require that evaluation is done on form validate? If so, this should be solved at the same time as #1827898: On incorrect answer: Keep answer on page reload.
(As described in the problem/motivation.)
–
Comments
Comment #1
itangalo commentedFixed and committed!