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
kaustubh chandratrekaustubh chandratre 

Whenever a new case is created, you need to make sure the Contact field is never blank . with validation rule

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Kaustubh,

You can use the below validation rule. As you said it is when the case is created i have added ISNEW() function.
 
AND(ISNEW(), ISBLANK(ContactId ))

If this solution helps, Please mark it as best answer.

Thanks,