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
REKREK 

Field Editability

Hi

 

I want to know how to impliment this:

 

One' A'  Pick list is editable only when another ' B' Pick list value becomes "Yes". and

  Validation should fire when B picklist is having Yes and A is blank.

 

 

Regards

Reddy

 

Starz26Starz26

Set up a dependant picklist where the value of B are dependant on the value of A.

 

I use N/A in B if it does not meet the criteria in A to be able to pick values.

 

As far as the Validation, it fires every time. You just have it check to ensure the A is not Null if there is a value in B.

 

If you want to hid B based on the value of A then you will have to develope the page using Visualforce.