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
Balu Phrabha123Balu Phrabha123 

picklist value should be manditory

HI All,

I have 3 fields called Pre doc line, Ladi Line and Slopping picklist value. Picklist Values(Sloping up and Sloping Down)

When Pre doc is > Ladi Line then I should show error message as Sloping Picklist should be "Sloping Up"

Post_Doc__c > LADI_Line__c,
ISPICKVAL(Sloping__c, "Slope Up"))

Error Message: Please slect Slopping up value.

VinayVinay (Salesforce Developers) 
What are the datatypes of Pre doc, Ladi Line fields?