Please help me out in below question-
How to make two dependent autocomplete element in moodle via form API.
Example - First autocomplete element have all courses on select of courses from first autocomplete
second autocomplete element bind the all teachers name according to selection of courses.
Thanks in Advance