Reset clearing the image upload field after submitting form

I have a form containing a single file upload field. I have on form submit action to try to clear the image field on success. I set the value to blank. But this does not work
Any suggestions?

Due to security reasons browsers don’t allow you to manipulate file inputs using javascript. You need to reset the form.

1 Like