Hello everyone,
I have the following request:
I would like to be able to upload attachments in addition to the input in my form and then have them saved in an SP list. Everything works so far!
The thing that should not be is that always only one file is uploaded when I click on the button, although I have selected, for example, 3 files. It is always taken the last only (logical, because I work in the script with the function Last() ). But is there an alternative? How can I define that all files that are selected are uploaded?
See images below)

The files don't have to be renamed, they just have to be uploaded with the name they have. So not only the last added files but all of them in the DataCard.
I hope I was able to explain this clearly enough. How can I change it?
Thanks in advance!