Visibility, Enabled condition for Field

George Kopadze asked on February 26, 2016 14:59


Can you tell me how to make some controls visible/invisible to a specific roles? I have custom field in users table CV and Meta File uploader control. I want it to show only for specific roles. I saw Visibility condition and also specified role name as a condition, but it's not working.

Thank you for your help

Recent Answers

Joshua Adams answered on February 26, 2016 18:01

Something like this may be an option:

{% CurrentUser.IsInRole("Role1") || CurrentUser.IsInRole("Role2") %}

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.