Hi,
if you examine the answer table of the LS database "lime_survey_[surveyID]", you will see that an upload question has two fields in the datatable
in field {SGQ} of type "text" the file information, in field {SGQ}_filecount of type integer the count of uploaded files.
Like
"123321X123X9876": [{ "size":"102.65","name":"file.pdf","filename":"fu_trz5np4mn5pbgr4","ext":"pdf" }]
"123321X123X9876:filecount": 1
And you find the file "fu_trz5np4mn5pbgr4" itself in folder "/upload/surveys/[surveyID]/files" .
Now you may create these fields in the database by creating as many hidden upload questions as you may need.
And your "form-result.php" handles the upload and enters the data into the respective fields of the answer table.
If so, how can I know where the images are loaded?
Exactly this you have to do in your php file.
In my opinion this is really not the best.
Why can't you split the question?
1. The multipunch question to select the product(s).
2. For each product an upload question, displayed by relevance
And to validate?
Set the min count to "1".
www.limesurvey.org/manual/Question_type_...m_number_of_files.29
Joffm