
I need to make some fields read only when a status field has the value of approved. How can I do that? Is it even possible?
Any help would be greatly appreciated.
4 respostas
I believe I responded the same for some one else also.. so I ll just reproduce my solution here..
You need to create a separate page layout (clone of existing one) and make the desired fields as read only on the layout. Create a record type on the object and assign that page layout to the record type.
Create a WF rule with the criteria, Status equals "Approved". Create a Field Update and the select the record type as field to update with the value of new recordtype you just created.
Now whenever the status will be changed to approved, the record type will change thereby changing the layout with the required fields as read only.
Hope this helps.