correcting the addrule required

This commit is contained in:
Pierre Pichet 2010-04-24 09:48:37 +00:00
parent a387e8ac3c
commit 5a5487ff7f

View File

@ -22,7 +22,7 @@ class question_export_form extends moodleform {
$mform->setHelpButton("formathelp[$i]", array("$shortname",$fileformatname,"qformat_$shortname"));
$i++ ;
}
$mform->addRule('format',null,'required',null,'client');
$mform->addRule("formathelp[0]",null,'required',null,'client');
//--------------------------------------------------------------------------------
$mform->addElement('header','general', get_string('general', 'form'));