Hi all,
I'm working the adaptative feature for the quiz module , here is my approach any comments will be really useful. ( Is anyone working this feature alredy?)
-
Adding a database column called next_step to the quiz_node_relationship, that will store the adaptative conditions based on the answer for the current question.
-
Modify the way that function quiz_take_quiz function handles the $_SESSION questions array variable( avoid using the array_shift), so the user can go back and forward in the quiz depending on the defined adaptative conditions. If you have any suggestion on doing this without hacking the core module will be nice.
-
Adding to multichoise questions type and true/false question type a column on edit interface to let the user select the next quiz question( the user should create all the questions before setting the adaptative conditions) for each answer.
-
Store the submitted information in the next_step column from the step number 1.
Any comment will be apprecited
Regards,
Julian