Hello Seblod Community,
I'm working on a small community project and would like to automatically assign user to one or several predefined usergroup(s).
In my registration form, I've created a select field the values of which could be used to assign in which usergroup(s) to regsiter the user: ie if user select option a, he is assigned to group A, if he selects option b, he is assigned to group A and group B.
My first idea was to use Conditional states: in my form I've added a User Groups field and added a conditional state on it to be filled with the value of a group (id of the group) when my custom select field is filled with specific value(s).
It is not working.
Am i wrong by using conditional states? Should I use another way to achieve this?
Thank you for helping
Simon