Talk:Form API
From MoodleDocs
Usage
This section says: "For creating a form in moodle, you have to create class extending moodleform class", but WHERE do you create this class? Which .php file? The documentation should be clear about where you should put all the different sections of code. Where do you put the "class simplehtml_form extends moodleform..." code? Where do you put the code that processes the form data when the form is submitted?