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

Make attachment as mandatory based on picklist value selection

Hi everyone,

I have a requirement where i have to make attchments as required when user selects a specific picklist value of a field on Case object.

Can anyone help me to achieve this.

Thanks in advance!
SwethaSwetha (Salesforce Developers) 
HI Shreyanka,
You should be able to do this with a validation rule. While I try this in my dev org, can you share what is the picklist field name? 

Hi Swetha,

I am trying to do with a Custom field, also attachment is a related list. I tried with validation rules but couldn't achieve it. So can you use sample data and explain me a how to achieve using validation rule.

SwethaSwetha (Salesforce Developers) 
Have you tried the approach in ?