I'm a newbie using Moodle 3.5. I was trying to submit a form using examples in the documentation: https://docs.moodle.org/dev/Form_API
After inserting the code and hit enter, it is showing: "A required parameter (a) was missing"
Not sure what went wrong because I just basically copied and pasted the code.
Thanks a lot.