Multiple file uploads with multiple inserts into - confused need help DB
I'm trying to create a form that allows a user to upload up to 5 separate photos and then to have these photos inserted into a database.
I've made sure my file upload fields are all uniquely named and created 5 image upload server behavior instances, one for each of the file fields. I'm confused as to how to go about performing the multiple insert into the database after the upload.
Am I able to use a repeat selection on my file fields and then use the multiple insert behavior from DataAssist?
I'm confused about the field bindings too. I have 5 uniquely named file fields, but the Multiple Insert record wizard asks me to choose a single field for each of the database columns meaning there will only ever be one image uploaded 5 times.
I've considered adding 5 separate single record insert behaviors but then how would I know when to do the re-direct as each behavior would have it's own redirect instruction.
Any help is greatly appreciated.
I've attached a copy of my page