Hello.
I try to develop an activity module for moodle. I already checked the newmodule documentation.
In the file mod_form.php I wrote this code.....
public function definition()Please can anyone help me? Where can I find and how can I further work with the submitted data, which was sent through this moodle form. For example I would like to save it into the database. And customize this concrete modul through the sended settings.
{
global $CFG,$DB;
$mform =$this->_form;
$mform->addElement('header', 'treport', get_string('modulename', 'treport'));
$select = $mform->addElement('select', 'selecting', get_string('selecting','treport'),get_all_courses_from_moodle($DB),array('class' => 'js-example-basic-multiple'));
$select->setMultiple(true);
//.... and so on....
Thanks for the help.