Skip to main content
Radhi Doghri 님이 #Formulas에 질문했습니다

Hello,

 

I created this validation rule that prevent users to convert a lead if one of these fields is not filled.

 

AND( IsConverted , OR( ISBLANK(TEXT (Account_size__c)), ISBLANK(TEXT(Fonction__c)), ISBLANK(FirstName), ISBLANK(Title ), ISBLANK(Email), ISBLANK( Phone ), ISBLANK( MobilePhone), ISBLANK(TEXT( Rating )), ISBLANK(TEXT( Coverage__c )), ISBLANK( Website ),

 ISBLANK(TEXT( Operation_type__c )), ISBLANK(TEXT( Industrie_vertical__c )), ISBLANK( NumberOfEmployees ), ISBLANK(TEXT( LeadSource )), LEN( Pain_point__c ) = 0, LEN( Street ) = 0, ISBLANK( PostalCode ), ISBLANK( City ), ISBLANK( Country ) ) )

 

I want to modify this rule to allow users to convert the lead if one of the phone fields is filled in and not necessarily both

답변 2개
  1. 2022년 3월 2일 오후 2:57

    Hi Radhi you could try like this, adding another AND inside that OR so only if both of them are blank then it will return true:

    AND(

    IsConverted ,

    OR(

    ISBLANK(TEXT (Account_size__c)), ISBLANK(TEXT(Fonction__c)),

    ISBLANK(FirstName), ISBLANK(Title ), ISBLANK(Email),

    AND(ISBLANK( Phone ), ISBLANK( MobilePhone)),

    ISBLANK(TEXT( Rating )), ISBLANK(TEXT( Coverage__c )),

    ISBLANK( Website ), ISBLANK(TEXT( Operation_type__c )),

    ISBLANK(TEXT( Industrie_vertical__c )), ISBLANK( NumberOfEmployees ),

    ISBLANK(TEXT( LeadSource )), LEN( Pain_point__c ) = 0,

    LEN( Street ) = 0, ISBLANK( PostalCode ), ISBLANK( City ),

    ISBLANK( Country )

    )

    )

0/9000