I need to create an own edit page for an activity. So if I click in the course on "Update", I get to this page.
I am new to moodle and it would be great if you can give me some hints, documentation or advices how I can implements my functions in the best way. Of course I don't expect a full solution .
These are my questions:
- How can I define own / new functions, not listed here? http://docs.moodle.org/dev/lib/formslib.php_Form_Definition. For example I can make $mform->add_myown_customized_editor();
- If I save the formular, to where will the information from the fields go? (Later I need to process the values there and put them into MySQL database)
- I need to check the values in the input fields, how can I check them with a moodle function?
- How can I get values from the MySQL database for already existing exercises? For example I have a textarea with text. If I would like to change the text now, I need somehow to get the existing text from the MySQL database
Thanks for your help and regards,