I see that this question has been asked before (here https://moodle.org/mod/forum/discuss.php?d=315030 and in others), but I do not appear to find an answer. I am hoping this will be the lucky time this is answered.
Can you override a moodle form from the theme? How can you add an extra field to a form without touching the core code of the form?
In my case I want to add an extra select element to the autogroup_form. It does not appear to use any renderer, simply the $mform->display() method.
Does there exist a way to do this? What are you doing to achieve this?