How to select multi role register ?

1
Hi everyone, Currently, I want to create a page sign-up and  I wanna choose a role from UserRole to set security for account creation. I use an if-else statement to assign permissions but only 2 roles. I want multiple roles, how do I do it? Thanks.
asked
1 answers
0

Hello Le Hoang Vu, 

 

You could use a data view for the account entity and then place an input reference set selector in it like this:

 

Then create a select page with a listview of the user roles. Now you can select multiple user roles and save them per reference to the account.

 

I hope this helped.

answered