Skip to main content
Anthony Okoro (First American) 님이 #Formulas에 질문했습니다

Hello, I wrote a validation rule to make these two picklist field (Complaint reason & complaint level) required when a checkbox field (ACI Complaint) is true?   Formula - And(  ACI_Complaint__c=True, ISBLANK(TEXT( Complaint_Reason__c )), ISBLANK(TEXT( Complaint_Level__c )) )  However, if one of either of the field (Complaint reason & complaint level) is filled, I am able to save without filling the other. I am wanting to update/change the rule in such that I will need to fill both fields and not just one in other to save. Please advise

답변 5개
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    2022년 8월 31일 오후 2:47

    Hi Anthony,

     

    You'll need an OR between your ISPICKVALs. Also, no need for "= true" for a checkbox:

    AND(ACI_Complaint__c,

    OR(

    ISBLANK(TEXT( Complaint_Reason__c )),

    ISBLANK(TEXT( Complaint_Level__c ))

    )

    )

0/9000