Skip to main content
validation rule  : Either Opportunity Name field or Case Number field must be populated, but not both. plz help me on this
2 answers
  1. Jun 4, 2015, 3:32 PM
    Please try below code. Please modify field name according to your org.

     

    OR

    (

        AND

        (

            NOT( ISBLANK(Opportunity__c) ),

            NOT( ISBLANK(Case__c))

        ),

        AND(

            ISBLANK(Opportunity__c) ,

            ISBLANK( Case__c )

        )

    )

    Please make this as solution if this will help you.

     
0/9000