App Formula with Enum

Hi, i wanted to make the role auto change to "Admin" when i input the Nama Lengkap column with "admin". But the there's more than 1 role in my app, if i use IF, it just display admin and something else.

nthnn060500_2-1727860027603.png

nthnn060500_3-1727860032795.png

Thank you for your time!

0 2 130
2 REPLIES 2

I already tried with this "IF([Nama Lengkap]='Admin','Admin',[Role])", but now the role column don't display anything

nthnn060500_0-1727860114963.png 

nthnn060500_1-1727860200403.png

Steve
Platinum 5
Platinum 5

This may be a violation on the AppSheet terms of use:

Steve_0-1727878933408.png

Top Labels in this Space