I use the modExtra template to quickly create a ModX module, there is a need to assign several dependencies to one record. For example, there are hairdressing services: enter image description here

And there is a table with the masters of these services. It is necessary in the window of changing / adding services, to add the ability to select several masters that provide this service.

Is it possible to display select multiple in this window with a list of wizards? Next, I plan to transfer dependencies to another table in the controller, where conditionally id_services = id_master enter image description here

1 answer 1

What you need is called SuperBoxSelect. You can see the implementation for modix in the source code of the mini-shop or in the add-on superboxselect 2 .