You need to sign in to do that
Don't have an account?
SunilKumar
I have a picklist field called entry__C with 5 values in account object so whenever user create the new record it is editable mode and once record gets saved then it is readonly mode so user cannot edit that record.
I have a picklist field called entry__C with 5 values in account object so whenever user create the new record it is editable mode and once record gets saved then it is readonly mode so user cannot edit that record.Here i am not using any customization like vf page and all
So i have to do it through configuration.
Thanks in advance.
So i have to do it through configuration.
Thanks in advance.
May be you can look into this post
https://developer.salesforce.com/forums/?id=906F00000008ow0IAA
but readonly is not achieved over there. I dont think there is a way to make the field read only without using custom VF pages.
I do not think you can do it using configuration if you want to see it as a readonly field after saving.
You can create a new record type and make just that field 'read only' for the users you want and name it DO NOT USE on Account just for the above purpose and use the below trigger,
trigger changeRecordtype on Account (before insert)
{
for(Account a:Trigger.new)
{
if(<Condition like if the owner is a particular user you are looking for or a particular field has a specific value>)
{
a.recordtypeId='<(DO NOT USE)recordtypeId>';
}
}
}