How to add two or more FILE fields in this html form?
Good afternoon. I downloaded this template for creating a form.
I need to place more than two fields with files in the form and after that an error occurs, the second section with files stops working, while the first (which is at the very bottom) works, and when a file is added to it, it is added to the second. I tried to change the name attributes, it doesn't help. Tell me how you can do it.
I think I need to change something in JS, but this is a guess, although I tried.
The main file block is here.
To place the code, please use CodePen or similar tool. Thanks you!