Validation Rules
ISPICKVAL( Status__c , 'Submitted') - Checks if the newly selected value of the pick-list is 'Submitted'
AND(Comments__c == null ,
OR(ISPICKVAL( Status__c , 'Approved'), ISPICKVAL( Status__c , 'Rejected') ))
AND(Comments__c == null ,
OR(ISPICKVAL( Status__c , 'Approved'), ISPICKVAL( Status__c , 'Rejected') ))
Comments
Post a Comment