• Lakshmi Peri
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi All,,

I am writing the Validation rule for specific record type on check of check box i want the mobile field to become madator. I have written below code and it is not working :-

IF( RecordType.DeveloperName  = "Testing", AND(Text_Consent__c = True, ISBLANK(MobilePhone__c)), NULL)

If I just write below code it works fine :-
AND(Text_Consent__c = True, ISBLANK(MobilePhone__c))

Any idea what is going wrong when i am adding the record type.

Thanks,
Pankaj Pandey