File Upload field: When multiple files option is enabled and set to 1 file, the file cannot be replaced when editing a submission

  • Profile Image
    fireproofsocks
    Asked on September 26, 2017 at 11:31 PM

    When you create a form with file fields, there continues to be a problem with fields that have the "multi" feature turned off: users cannot remove a file that they previously uploaded.  So the current workaround is to define the field field with "multi" enabled, and set the limit to 1.  Once the "multi" option is enabled, the UI for editing the submission allows users to "X" out the unwanted file(s).  

    However, this solution doesn't really work either, because if a user tries X out an unwanted file and select an alternate file, an error pops up saying "Only 1 file uploads allowed."  

    So the edit submission feature really seems to be broken when it comes to file fields.  

    I don't know if it matters, but I have this form integrated with Google Spreadsheets and Google Drive.

  • Profile Image
    BJoanna
    Answered on September 27, 2017 at 01:49 AM

    Do you want to allow your users to remove the file they previously uploaded or to replace uploaded the file? 

    If you want to allow them to remove the file, then you should enable Multiple Files option, so that the user can remove the file by clicking on the X mark.

    However, if you want to allow them to replace the file you can disable Multiple Files option. All that your users have to do to replace the file is to upload a new file. It will override the existing file. 

    Let us know if you need further assistance. 

  • Profile Image
    fireproofsocks
    Answered on September 27, 2017 at 02:47 AM

    "Do you want to allow your users to remove the file they previously uploaded or to replace uploaded the file?"

    We need both options: replace OR remove each file.  This does not seem to be possible, nor does the above answer address the apparent bug that comes up when the multiple-files option is enabled and its limit is set to 1.  Note that your screencast shows the admin interface for editing submissions, which is not the same interface that a user sees when they click on the "Edit Submission" link in the email summary that is sent to them.  We still need assistance.  Thanks.

    Either we need

    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).
     Or 2) we need the forms to submit normally as expected after multiple edits when a file field has "multi" enabled and a file limit of 1.  Either option would work for us -- the current functionality (or lack of it) seems like a bug and not what a user (or an admin) would expect.
  • Profile Image
    BJoanna
    Answered on September 27, 2017 at 03:19 AM

    Note that your screencast shows the admin interface for editing submissions, which is not the same interface that a user sees when they click on the "Edit Submission" link in the email summary that is sent to them.

    The same can be done when editing a submission with the Edit link that was recieved via an Autoresponder email.

    2) we need the forms to submit normally as expected after multiple edits when a file field has "multi" enabled and a file limit of 1.

    I will raise this issue to our developers and we will inform you via this thread once this issue is resolved. 

    For now, you can remove the file, submit the form, then edit the submission again and upload a new file. 

    I have moved your other request to a separate thread and we will provide you an answer there shortly.

    https://www.jotform.com/answers/1258800

  • Profile Image
    Denis
    Answered on September 27, 2017 at 06:48 AM

    Hello, 

    Sorry for the trouble caused to you, the problem should be fixed now. Please test it and let us know if issue still persists. 


    Regards.