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
Nusha AhmadNusha Ahmad 

I have to write validation rule on custom object customer as

If city__c is equal to hyd panCard, phone,email blank through error.
ShirishaShirisha (Salesforce Developers) 
Hi Nusha,

Greetings!

 AND( (Name  <>  hyd panCard), ISBLANK(Phone) ,...)

I would suggest you to try out the above the formula to compare the field and checking for the fields if they are empty then throw the error.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri