I was hoping one of you might be able to help. I have been working on a form, where users can upload an image, and fill in description about that image.
However, I want them to be able to upload multiple images if they wish to. I have figured a script that duplicates the div with the specific field, and change the id, name and data-name of all the input elements as to not cause issue when submitting.
However, there is a recurring issue with the upload button. Despite them having a different name, id, etc. when i click on either the original or the duplicated button, the file gets uploaded on the first button (so however many duplicates I have, I can only upload one file).
Would someone know what the issue is?
(To find the form, go the page My Entry, and to the tab Your Images)