Skip to content

Commit

Permalink
correcting the addrule required
Browse files Browse the repository at this point in the history
  • Loading branch information
ppichet committed Apr 24, 2010
1 parent a387e8a commit 5a5487f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/export_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function definition() {
$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'));

Expand Down

0 comments on commit 5a5487f

Please sign in to comment.