I want to create user group using moodle form. The group contains number of users(Here i need 'Remove' 'Add' option). My form consist of group name ,Description and group boxes. I already added name and description to my form. But i am unable to add grouping tables. Please any one suggest or provide reference. I tried with course user groups but it have lot of libraries to do. Please find attachment for more understanding..