You are here

function quiz_admin_node_form_validate in Quiz 8.4

Same name and namespace in other branches
  1. 6.4 quiz.admin.inc \quiz_admin_node_form_validate()
  2. 7.6 quiz.admin.inc \quiz_admin_node_form_validate()
  3. 7 quiz.admin.inc \quiz_admin_node_form_validate()
  4. 7.4 quiz.admin.inc \quiz_admin_node_form_validate()
  5. 7.5 quiz.admin.inc \quiz_admin_node_form_validate()

Validation function for the quiz_admin_node_form form

File

./quiz.admin.inc, line 65
Administrator interface for Quiz module.

Code

function quiz_admin_node_form_validate($form, &$form_state) {
  module_load_include('pages.inc', 'quiz');
  $form_state['values']['resultoptions'] = array();

  // We use quiz_validate to validate the default values
  quiz_options_form_validate($form, $form_state);
}