I am using the following plugin to add images to a form, but I am trying to reset the form within the page.
I can clear all images from the display $(“.uploaded-image”).remove(); but the file data stays within the DOM so remains on a second attempt when submitting the form. I want all the formdata removed to reset the form.
Yes that does appear to work, the images object on POST still shows an empty filename where the image would have been but I can get around that on server side as it will not store an image if the filename does not exist.