Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to Hide Field in Client Script Based on ACL

tiguin2798
Tera Guru

Good Afternoon,

I am trying to create an onLoad client script on a custom table where if the current logged in user does not have the appropriate role it does not show the 'state' field. I only want this field to be accessible when the users managing this table access forms. However, I am just learning how to script. Can somebody please provide the correct code?

Thank you!

1 ACCEPTED SOLUTION

Brian Lancaster
Kilo Patron

Create an ACL on the state field that only allows users with the role to read the field.

View solution in original post

1 REPLY 1

Brian Lancaster
Kilo Patron

Create an ACL on the state field that only allows users with the role to read the field.