I’d like to move items between repeating groups on a button press or checkbox action. What would be the most effective way to do it?
E.G. I am setting up a zone for access control and trying to add users to it on the same go, but before the zone has been created. So I have the list of users that can be added and I’d like to make another list of the users to be added, that is created from the first list.
So the page has two repeating groups side by side. One of them is populated with a list of users, another has also a type of user, but is empty for starters. All the fields in the first repGroup have a “+” button and in the second one a “-” button. When the + is pressed the user should move from the first to the second list. And vice versa on the - press.
Then when the “create zone” button is pressed only the users in the second repGroup should be processed and added to the newly created zone.
Sounds logical(to me) but I can’t find a way to move the users like that and filter the group display based on another group’s list of items.
Is there a future in making this action work or should I rather break adding users down to a separate step?