i want to make phone field unique for this i have tried triggers but i want to write validation rule for this i have written something like
AND(
CONTAINS(
VLOOKUP(
$ObjectType.Student_Information__c.Fields.Phone_no__c,
$ObjectType.Student_Information__c.Fields.Phone_no__c, Phone_no__c
),
Phone_no__c
),
OR(
ISNEW(), ISCHANGED(Phone_no__c)
)
)
vlookup is not working for phone type field can you please help me with this,
is there any idea that i can make phone field unique ?