Hi, I have a requirement there is a Project Entity under that there are few sub grid like Tasks, Estimates etc., If I change any field in Tasks tab then another field in the same tab should be locked for particular security role. I have tried multiple ways then I found a way to do it by JS but don't know whether this is the correct approach or not. Can anyone help me to answer this. Thanks in advance.
If you need to lock and unlock fields on a form based on the value of another field and restrict access for certain security roles, JavaScript is a good option. However, if users can update the record through bulk upload or by editing via Advanced Find, JavaScript alone won’t cover these scenarios since it only applies to form interactions.
If form-level control is your only requirement, JavaScript will work well. But if you need to enforce these restrictions regardless of how the record is modified, a server-side plugin is more suitable. The plugin can check permissions and apply field-level security during record updates.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.