+ Start a Discussion
Santi Ram RaiSanti Ram Rai 

Validation Rules for Record Type and lookup.

Hi every body,
I am creating a Validation Rules for Record Type and lookup. If the Record Type Field and Loopup field have same text, then process should pass, and if they have different text the process must give error message.

Here is image:
User-added image
Best Answer chosen by Santi Ram Rai
pconpcon
You should be able to create a validation rule with the following Error condition
 
RecordType.Name !=  Project__c.Name

All Answers

pconpcon
You should be able to create a validation rule with the following Error condition
 
RecordType.Name !=  Project__c.Name
This was selected as the best answer
Santi Ram RaiSanti Ram Rai
This is my code:
RecordType.Name != pro_has_many_protask__c

But this is giving me error message. If i have same text in the both fields. See here;
User-added image