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
TamurthTamurth 

Hide a checkbox field depeding on pick list field values

Hi,

 

I have a requirement to hide a checkbox field depending on some PL values. Is it possible without java script or visualforce?

 

We use the standard opportunity page, and we would like to hide (or make the field read only) a custom checkbox field at the Opportunity level for all the stages except "Closed-Cancelled" and "Closed-No Bid".

 

Many thanks for help.

 

All the best,

 

Anzar

Suresh RaghuramSuresh Raghuram

first make the field as read only then write a field update workflow or (field dependecy  try iam not sure for the field dependency) which will check the checkbox .

 

other wise the checkbox will remain empty

 

If this answers your question  make this as solution.

holger@CWS-bocoholger@CWS-boco
You could create a new Opp record type and a related page layout without this field. Then change record type via workflow rule based on the stages!

Holger