You need to sign in to do that
Don't have an account?
Narayan H
How can I make fields Conditionally Read-Only - based on a picklist value
Can someone help me get moving with some data validation please?
I would like to set a field as being conditionally read-only based on the value of a picklist. What I have is a picklist that shows the specific Account type. Based on that selection I would like to have some fields red-only so that I can enforce some level of process control.
I really appreciate your help in this regard.
I would like to set a field as being conditionally read-only based on the value of a picklist. What I have is a picklist that shows the specific Account type. Based on that selection I would like to have some fields red-only so that I can enforce some level of process control.
I really appreciate your help in this regard.
http://blog.deadlypenguin.com/blog/2012/07/09/dynamic-dependent-picklists-in-salesforce/
This is possible using custom code and Visualforce page.
However if you want to go with the configuration you have to use validation rules. You have to configure a validation rule to validate if the picklist value is some value say 'A' then the fields under consideration should match with their prior value.
I have configured one with this logic: If the Account Rating is 'Hot' you cannot change the Account Number and Name. Here is the validation rule,
--Akram
Suppose Account has One field which name field1 is picklist type then you can use this trigger :
you can use this trigger :
you can get references from this :
https://salesforce.stackexchange.com/questions/170716/making-a-field-as-un-editable-conditionally
-----
If you find your Solution then mark this as the best answer
Thank you!
Regards,
Suraj Tripathi
Kindly,
Carol-Ann