Check for duplicate attachments

Userlevel 3
Badge +16



When a user attaches multiple attachments to a K2 form, is there a way to detect if the same file has been added more than once? If so, prevent them from doing so?


I need a way to prevent a form submission, if a duplicate attachment (with the same name) as mistakenly been added.


Is there some jquery that can check the attached files in a list view (as they are added) to check for duplicate file names and prevent them adding it?



0 replies

Be the first to reply!