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
Siddharth PrakashSiddharth Prakash 

Dynamic change of picklist based on the value of account field in standard opp page

Have a requirement where we need to remove a value from the picklist based on the Account name that is getting chosen.

For example i have a picklist that has - A,B,C,D as choices. But , if i choose an account called XYZ , the picklist should show only A,B,C. I am currently using the standard opportunity page.

I am not sure if there is way  - other than using record types , but wanted to confirm it. I dont want the users to see two different record type choices when they try to enter a new opportunity.

If there is a programmatic way to acheive this - please guide me to that as well. Any workaround to crack this will be deeply appreciated.