1) the full expected functionality of a single file field that allows for a user to remove a file (using a UI that is offered on the a file field whe

  • fireproofsocks
    Asked on September 27, 2017 at 3:17 AM
    1) the full expected functionality of a single file field that allows for a user to remove a file (using a UI that is offered on the a file field when the "multi" option is enabled).
  • liyam
    Replied on September 27, 2017 at 3:35 AM

    Unfortunately, for single file upload fields, this is native to the browser, so the fields there cannot be coded to create such functionality. The only solution that you have in order to have the control to remove files is to make use of the multiple file upload field and limit it to a capacity to be able to upload only one file.

    Thanks.

  • fireproofsocks
    Replied on September 27, 2017 at 12:35 PM

    Gotcha.  Makes sense from an HTML standpoint, but from a user standpoint, it does not.  Speaking in geek speak, it would be useful in this case to add some Javascript that could clear the reference to the original file.  Think of how this ends up on a spreadsheet: the file might have been uploaded somewhere, but if a user wants to remove it, it should be possible to clear out the value from that row in the spreadsheet.  I think the bug with the multi-file option has been fixed, but it still is a non-intuitive workaround.

  • liyam
    Replied on September 27, 2017 at 1:34 PM

    Just for clarification (as I may have misunderstood the matter), what you are looking for is a way to remove the uploaded file, and not a means to replace the file when editing a submission. 

    If so, just let us know, so we can escalate a feature request for this. Otherwise, it would be great if you can share more details in order for us to be able to escalate a proper request.

    Thanks.