function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kvm1231kvm1231 

Specific Editable fields required based on the picklist value?

Hi,

I have one pick list value on Account object with multiple values, please find the below example for same

Picklist Name: Entity type(Custom field)
Pick list Values : "aaa","bbb","ccc","ddd".

Along this pick list on Account object there have several fields are there , it contains text fields,loopup fields and picklists.

Now, Actual requiremnt is based on the Entity type pick list value, we can able to show specific fields would be editable mode and remaining fields should be disable mode.
For example, If i select the value for "aaa", then specific fields will be enabled.

Could you please let me know, what is the easy way to do the set for end user. Means end user can able to decide the fileds, what are the fields should be enabled based on the pick list value.

Kindly let me know, if any one knows

Thanks in advance
Muni
 
Gokula KrishnanGokula Krishnan
Hi kvm1231,

You need to create a Visual Force Page for this. In Standard page of account,  you can't make the fields hide or show. 

In visual force page, you can achieve by rerender, rendered attributes.

Reference: http://www.salesforcetutorial.com/render-use-rerender-rendered-attributes/

Thanks,

If it helps you, please mark is as best answer, so it will be helpful for other developers.