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

  • Profile Image
    fireproofsocks
    Asked on September 27, 2017 at 03: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).
  • Profile Image
    liyam
    Answered on September 27, 2017 at 03: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.

  • Profile Image
    fireproofsocks
    Answered 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.

  • Profile Image
    liyam
    Answered on September 27, 2017 at 01: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.