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
Richard ValenciaRichard Valencia 

How can I create a pop when a users tries to upload an attachment to remind them of a document that should not be uploaded?

As a user when trying to upload an attachment in any object i need to be remind of a document that should NOT be inculded. 

example: 

While in an account, when I select add attach file, i would like a reminder that states "Please remove any documents with customer credit card numbers"  

NagendraNagendra (Salesforce Developers) 
Hi Richard,

You need to take a custom approach to archive this..take a look into this thread. Please let us know if this helps.

Thanks,
Nagendra
Richard ValenciaRichard Valencia
Is there a more simple approach? This approach show lots of coding that I'm not strong at as an Admin. Also this is for once uploaded I'm trying to have it show before upload.

How to display a pop up before a file is uploaded?