need to upload multiple files each with different parameters
- by OM The Eternity
I have a form in which there are total eight fields, name, address, age and 5 other file/photo upload fields such that at a time one upload field is visible..
Now here every time I upload a file i need to fill the "name, address and age" as well. at this point I dont want to submit the form, but I just want to save these values in any variable and get back to same form with information of previous file ready to be submitted, now again user can upload new file with new values in... and so on... as user is done with the 5 files he should not be allowed to upload more but he should be allowed to submit all the 5 files to DB along with there supporting fields..
How should I proceed further ...?