It currently consists of a fairly standard moodle form, but I need to add an extra bit to select which users are teachers with whom appointments can be booked. This is the bit that I'm unsure about.
I think it would be best to keep this as similar to the assign roles interface to make it as intuitive at possible, however I see 2 problems:
- I can't work out a way to get that into a moodleform
- It requires a page refresh each time it is changed
Another thought I was to totally separate this part of the form to a popup, it would be a bit unintuitive in that all the configuration is for the same thing split accross different pages. It does however make the technical side a lot easier
Has anyone done anything like this before? Which is the best solution? Would a 'select multiple users' mform element be useful (I can't be the only person doing this)?