How to bind selected objects to another model object at once on web page (like a checkbox) [closed]

I wanted to know how to create a model object by binding multiple other selected objects at once on a web page (like a checkbox or something).

For example If I want to create a model named group for university but I need to include students from another model to this group excluding some of them (not all of the given students will be included).

So, I was not able to create a form to choose all of them or exclude some of them at once, please help.

Thanks in advance.

Back to Top