Hello,
I've created an Edit form. Now, I want to make text field View or Edit depending on the user who is logged in.
I've create a variable called OnStart called "varUserEmail".
Then, for one of the DataCard I've put it in the Visible field
"If (varUserEmail in ["Test@email.com", "Test1@email.com"],DisplayMode.Edit, DisplayMode.View)".
But it is not working. This formula is just making that data field non visible.
Please let me how can I achieve this function.
Solved! Go to Solution.
Hi @Anonymous ,
The Visible property is to control if the data card can be seen.
If you want to change the display mode, you have to apply your formula to DisplayMode property.
I have made a test, and it work well.
Hope this helps,
Best regards,
Sik
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.
Dear,
Try to add your function into the DisplayMode attribute of the desired control.
Hope this helps
Niels
Hi @Anonymous ,
The Visible property is to control if the data card can be seen.
If you want to change the display mode, you have to apply your formula to DisplayMode property.
I have made a test, and it work well.
Hope this helps,
Best regards,
Sik
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.
test
It works. Thanks.
It works. Thank you.
User | Count |
---|---|
255 | |
110 | |
90 | |
51 | |
44 |