Last Updated: February 25, 2016
·
603
· carlosagile

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();
    }
}