Hi all,
My goal is simple: to add autocomplete feature for my custom fields in 'mod/quiz/mod_form.php', so that when I type some text, the possible options are retrieved from a text file on the server.
I'm pretty sure it must be simple as we see it often on websites, but I need some help here, since I basically code Moodle with PHP, almost no experience with AJAX/JS. (I know that sounds silly...)
From the documentation - https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#autocomplete - we know there is a class