function quiz_admin_node_form_validate in Quiz 8.4
Same name and namespace in other branches
- 6.4 quiz.admin.inc \quiz_admin_node_form_validate()
- 7.6 quiz.admin.inc \quiz_admin_node_form_validate()
- 7 quiz.admin.inc \quiz_admin_node_form_validate()
- 7.4 quiz.admin.inc \quiz_admin_node_form_validate()
- 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);
}