function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mahidhar Reddymahidhar Reddy 

i have three record types in third record type make one field required how to do it through validation rules

NagendraNagendra (Salesforce Developers) 
Hi Mahidhar,

You can do this in two ways.

1st Approach:
AND( 
$RecordType.Name = "The RecType Name", 
ISBLANK(TEXT(Client_Follow_up_Required__c)), 
ISPICKVAL(Status, "Closed"))
2nd Approach:
AND( 
$RecordType.Id = "012600000000ldi", 
ISBLANK(TEXT(Client_Follow_up_Required__c)), 
ISPICKVAL(Status, "Closed"))
Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
 
mahidhar Reddymahidhar Reddy
tanq nagendhra...
mahidhar Reddymahidhar Reddy
it's not working nagendhra can please check once
and(( $RecordType.Id ='0127F000000RqjzQAC'),
     (ISBLANK(text( Ownership ))) 
   )
Jega DeivaJega Deiva
Hi

Please try this

AND($RecordType.Id="0126F000001uQOO",   ISBLANK( field name ))

If the required field is "text" field use ISBLANK,if the field is "number" field use ISNULL.


Thanks
Jega
Sweet Potato Tec