I need to create functionality similar to Salesforce Approvals where as when a record has a particular status then everything on the SKUID page should be read only. At the moment the only way I can think to do this is to replicate all tables and field editor components as read only and then conditionaly display the Read Only or Edit version based on the status of the record. But wondering if there is some sort of global way to make everything read only or some slick way in javascript to loop through all the components and change them to Read Only mode if the Status is set to a particular value. I have a ton of tabs on the page with lots of field editors and tables so hoping someone has a better solution than what I have come up with.
Question
Is there a way to make all fields read only based on a condition?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.