Is it possible to disable "Remove" link within a!fileUploadField()?

Within the a!fileUploadField() component, is it possible to disable/protect the "Remove" link once a document has been uploaded? Once "Browse" is clicked and a file is uploaded to the document array, I would like to disable the "Remove" link at other steps of the process so users cannot remove a previously uploaded doc. I realize I could simply add code to hide the entire a!fileUploadField() component, but I still want to present each approver in the process with the ability to upload documents if they so choose. Thanks in advance!

OriginalPostID-200743

OriginalPostID-200743

  Discussion posts and replies are publicly visible

Parents
  • I am using a!documentDownloadLink() to view/download previously uploaded docs. However, my question is related to if it its possible to disable the "Remove" link of the a!fileUploadField(). Reason I ask, is I am an approver of a process and I want to have the ability to upload docs to the process, if the attachments array is the same, than users can also delete attachments which were uploaded at a previous step. I have uploaded a screen shot of what I mean. The "Download/View Attachment" is documentDownloadLink().

    Removelink.docx

Reply
  • I am using a!documentDownloadLink() to view/download previously uploaded docs. However, my question is related to if it its possible to disable the "Remove" link of the a!fileUploadField(). Reason I ask, is I am an approver of a process and I want to have the ability to upload docs to the process, if the attachments array is the same, than users can also delete attachments which were uploaded at a previous step. I have uploaded a screen shot of what I mean. The "Download/View Attachment" is documentDownloadLink().

    Removelink.docx

Children
No Data