function quiz_take_question_feedback_submit in Quiz 7.5
Same name and namespace in other branches
- 7.6 quiz.module \quiz_take_question_feedback_submit()
Submit handler to go to the next question from the question feedback.
1 string reference to 'quiz_take_question_feedback_submit'
- quiz_take_question_feedback_form in ./
quiz.module - Show feedback for a question response.
File
- ./
quiz.module, line 3626 - quiz.module Main file for the Quiz module.
Code
function quiz_take_question_feedback_submit($form, &$form_state) {
$quiz = node_load(arg(1));
$form_state['redirect'] = "node/{$quiz->nid}/take/" . $_SESSION['quiz'][$quiz->nid]['current'];
}