You are here

function quiz_take_question_feedback_submit in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 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_report_form in ./quiz.pages.inc
Form for showing feedback, and for editing the feedback if necessary...

File

./quiz.module, line 3743
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'];
}