HPSH is thinking along different lines, just as I mentioned. Bravo.
I often get stuck somewhere, and have to force myself to think "what if I rethink the whole thing?" This is hard sometimes, because of the investment in time and energy one often makes going down a particular road.
well, its helps sometimes to be old and strange
look at you script, and it looks like you also can do it with a scrolling list field, something my script didn't do, and it looks that better for me.
if its many choices, i think i would make a temporary scrolling field, put the names in the group in there, and make a button with a script to transfer the choices from the temporally field to a scrolling list field, and then delete the button and the temporally field.
but somehow, i don't think it will be that big, its almost the same language as my first language.
just hits me one thing here, i wonder if this situation would be better fixed with more cards, then to make object visible or invisible, at least INDSTILLINGER (setup) seems to me something to put on a separate card.