How can I remove uploaded file before submit?

  • irisderijcker
    Asked on November 17, 2016 at 4:54 AM

    When you add a file to upload through the 'upload file' button, but then change your mind and want to leave it empty, how can you get rid of the file?

  • amy
    Replied on November 17, 2016 at 7:22 AM

    Hello,

    You can make it happen by this way:

    How can I remove uploaded file before submit? Image 1 Screenshot 50

    So, if user changes his mind, he should click "Choose File" again and choose nothing. At last user should click the "Cancel" button.   

    You've an alternative widget, if you wish to use: Drag and Drop Upload.

    How can I remove uploaded file before submit? Image 2 Screenshot 61

    So you can serve more optional upload form to your user.

    How can I remove uploaded file before submit? Image 3 Screenshot 72

    Users can remove their uploaded files easily. But this widget also allows to multiple upload. Therefore I'm not sure that widget is helpful for you.

    If the files extensions are jpeg, png etc. which you want from the users, you can also use this widget. Here is our result:

    How can I remove uploaded file before submit? Image 4 Screenshot 83

    I can say in conclusion, you can get rid of needless file by applying 1st. way, if you need files except for images.

    I hope, it helps.

    Thank you! 

  • amy
    Replied on November 17, 2016 at 8:02 AM

    In addition to this, I'm escalating this issue to our developers as a feature request. 

    I cannot promise you it will surely implemented or not. However you'll be notified via this thread, if this feature is released. 

    But it's not implemented absolutely.