-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File submission question type #471
base: MOODLE_39_STABLE
Are you sure you want to change the base?
File submission question type #471
Conversation
a21daff
to
08d7551
Compare
08d7551
to
564639b
Compare
Hi. For a new feature like this, it will need to be applied to the MOODLE_400_STABLE branch. Can you redo your pull request for that? |
@laurentdavid I think you have a file-submission-400 branch and a file-submission-401 branch at your place. Best, |
Hi! Looks like a feature requested by one teacher I assist. When do you think we'll be able to get this new question type? |
@smlavoie with the patch by @laurentdavid I've identified some bugs. For example, if more than one file question is inserted into a questionnaire, only one is able to save the files. And in classes/responsetype/file.php as well as in classes/question/file.php a condition has to be set in order that results can also be seen if a file question is not mandatory and the file submission is optional (see e9060c1). |
@lucaboesch , thanks for the followup. Will the bugs be fixed? If so, when do you think it'll be done? |
Hi @smlavoie & @lucaboesch, Sorry for not answering earlier. I will not be able to answer quickly on this one as I have a lot on my plate right now. Laurent |
@laurentdavid many thanks for the followup. Hope to see this feature up and running in questionnaire soon. |
Hello, sorry to annoy you again. Any news on an update on this much wanted question type availability? |
This branch https://github.com/lucaboesch/moodle-mod_questionnaire/tree/file-submission-401 here is improved in regards to the one by @laurentdavid . There's also https://github.com/lucaboesch/moodle-mod_questionnaire/tree/file-submission-403. |
Hello @lucaboesch , I installed this version on our dev. Works great! I noticed, there is a one file limit per question. Is there a way to manage that or to remove that limitation? |
The limitation is there by intention. The handling of mutliple files doesn't work for a simple file type question. However, you can add several file type questions to one questionnaire. This may solves the case to have multiple uploads but may not exactly fit your workflow. |
Hi @srobotta , thanks for your answer. As you suspected, I knew the limitation is intentional and with our students, it's best to present them as few questions as possible, that is the reason for my request. Is there an easy way to add a setting to let the teacher how many files could be upload in one question? |
|
@srobotta, Thanks for your time, I'll follow your advice and in time will make a new feature request. |
Hi folks, We adapted @laurentdavid patch at our institution and after some improvements using this successfull for 1/2 a year now. There were several pull requests regarding this issue which never got merged. Today I have created #599 with the codebase that we use on our production site. |
Hi,
Here is an improvement where we added a file question type.
This type allows the user to submit a pdf or an image file to the questionnaire.
FIxes #287
Thanks for your time reviewing this pull request.
Kind regards.