Attachment removal issue

jb207

23-07-2018

Hi

I am trying to create listbox that will be used to add, open and remove attachment.  This form has 3 buttons for 3 action. I have having difficulty with the ''Remove" button.

On the click event for the remove button, I have written some simple javascript code (help taken from adobe forum) to delete the selected index item that should read the selected item from the listbox and then delete it. This part is okay.

But I want to add some code in the "remove" button so that whoever add the attachment in the form will only be able to delete the attachment. Other people are able to view attachment by clicking the "open" button after highlighting the attachment. As I am novice in JavaScript, I don't know whether it is possible or not. And if possible, how it can be achieved.

Thanks

Accepted Solutions (0)

Answers (0)