file upload question.

martinblackinc
Forums
Hi :) I'm trying to figure out how to give students the ability to upload more than one file when answering the file upload question. I have installed Multiupload Filefield Widget then changed structure/ content types/ file widget to multiupload. I looked at the structure/ content types/ fileupload question but couldn't find anywhere to make the change. and have trawled through everything else and am now lost as changing structure/ content types/ file widget to multiupload, didn't give a student the ability to upload more than one file. This is all guess work at trying to get it working :) Best wishes Martin Black
axel

Hi

Hi

You will need to alter the code of fileupload module, in /profiles/opigno_lms/modules/contrib/quizfileupload

More precisely you could start by having a look at quizfileupload.classes.inc file on line 155

You could try using the type managed_file instead of file (https://api.drupal.org/api/drupal/developer!topics!forms_api_reference.html/7#managed_file)

Other changes will be probably required in order to save the answer, view the answer, ...

martinblackinc

Thanks axel :) I shall see

Thanks axel :) I shall see what I can do Best wishes Martin