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
AmitabhleoAmitabhleo 

Create dependent fields other than pick fields

Hi all,

I have created a number of custom fields in Opportunity which needs to be filled only after the Opportunity stage is closed won.

I would like them to be blanked like we have in Opportunity Lost reason i.e a pick field dependent on Opportunity closed lost.

Thanks in advance.

regards,
RickyGRickyG
Amitabh -

Your situation is the ideal scenario for use of workflow.  Create a workflow rule that fires when Status changes to "Closed Lost".  Assign workflow actions to set the values for those fields to NULL.

Hope this helps.