Condtional and role based editability of fields

0
I have 2 fields on a form. One is visible to user with admin role. The other is visible to users with user role. The one with user role has editability condition so only if its newobject it can be editable. It is working fine if a user is either admin or user. But if a user is both, then there are 2 fields appearing. Is there a way to configure these module role based condition on single field?  Such that if user='Admin’ then fine else if user='User’ then isnew($currObject)  
asked
1 answers
1

Hi Pragya,

Unfortunately you cannot set this in the visibility. You can use a helper object/attribute to determine this logic when you open the form and base the visibility on this attribute.

Hope this helps! 

answered