I am creating a plugin which allows users to submit assessments. These assessments are form based assessments. I created a mod activity plugin to achieve that. I need a another form inside this plugin, addition to mod_form.php in a new page which allows users to create new assessments. This is similar to forums in Moodle, like it allows users to create own discussion topic.
I want to know the best way to create a form?. (This is not the mod_form.php, lets say it is mypage.php)
We can simply build it like this
Is this the Moodle recommend way? Appreciate your help.