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

Make a date field mandatory depending on stage of opportunity


I have a Date field (custom__c) on Opportunity, I want to make it mandatory if the Stage of opportunity is "stage 3", there are 5 stages in total

Thank you
Best Answer chosen by Ab
☯ BonY ☯☯ BonY ☯
Hi Sandrine,

Try this
and(ispickval( Stage, 'stage 3' ), isblank(custom__c) )