working with dynamic multiple (repeated) uploads
Ok, will start from the beginning.
I have Security Assist set up, one of the questions it asks is how many children you have, this is stored.
I then have an update page where users can update their details, this works.
On the same page I have another form that loops another form based on how many children they have. For each loop the user can fill in the name, birthdays and a photo. This is stored in another table using the UserID from the Security Assist registration.
This works (eventually, WA does screw up more than my liking and gives no errors)
But i only got it working for a test stage. When i try to apply the DFP behaviour on the file field, no data is added into the database and no images are uploaded.
Does it not work this way? But even if the file upload didn't work, why does it then not insert any data?
Looking at the code it seems the file upload is only set to run once, and not loop.
Is this possible?
Next experiment will be to loop the upload function after the form is submitted.