Minor - Fixed display footer when you add a question in the test and occurs an error of required field - partial DT#5214

skala
Cristian Fasanando 17 years ago
parent a0618dc58b
commit 5f4054fa24
  1. 4
      main/exercice/question_create.php

@ -87,8 +87,8 @@ $form->addElement('style_submit_button', 'SubmitCreateQuestion', get_lang('Creat
// setting the rules
// $form->addRule('question_type', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('exercice', '<div class="required">'.get_lang('ThisFieldIsRequired'), 'required');
$form->addRule('exercice', '<div class="required">'.get_lang('YouHaveToSelectATest'), 'numeric');
$form->addRule('exercice', '<span class="required">'.get_lang('ThisFieldIsRequired').'</span>', 'required');
$form->addRule('exercice', '<span class="required">'.get_lang('YouHaveToSelectATest').'</span>', 'numeric');
$form->registerRule('validquestiontype', 'callback', 'check_question_type');
$form->addRule('question_type_hidden', get_lang('InvalidQuestionType'), 'validquestiontype');

Loading…
Cancel
Save