I am having a form submit in which the user can be able to choose multiple images( choosing one by one ) not multiple enabled in file field.
When the user chooses the image I will add an image tag for image preview and hidden file field for each of the images added.
When the validation fails in back end it just removes a file field. This removes a file field for each time when validation error occurs(any field validation). Anything better can be done for this?
Why don't you show preview before image file being uploaded, follow the link
note: will not work in IE8(fileReader is supported from IE10).