Disabled alert popup in submit forms in Moodle
class example_form extends moodleform {
public function definition() {
$mform =& $this->_form;
.....code form ....
// Use this function to disabled alert popup.
$mform->disable_form_change_checker();
}
}
Written by Carlos Escobedo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Moodle
Authors
carlosagile
28.43K
alroman
2.601K
Related Tags
#moodle
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#