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
AlokVAlokV 

Opportunity notes enabled when Opportunity notes date is entered.

Hi,

 

I have two fileds. Opportunity Notes date and Opportunity note. My requirement is that until opportunity Note date is blank,Opportunity Notes is disabled. When date is entered in Opportunity Notes date, Opportunity Notes is Enabled.

 

Opportunity Notes Date is blank-----Opporutnity Notes Disabled.

Opportunity Notes Date  has a date-----Opporutnity Notes Enabled.

 

Is it possible to achieve this through workflow?

 

Any help would be appreciated.

 

Thanks,

Alok

 

Best Answer chosen by Admin (Salesforce Developers) 
Jeff BloomerJeff Bloomer

Workflow cannot handle whether a field is visible or active.  In order to do this, you would need to create a Visualforce page and controller to handle the logic.  You could, however, create a validation rule that does not allow information in the field unless the Opportunity Notes Date is populated.

 

Please remember to give Kudos if this answer addresses your question.  Thanks!