Тип въпрос - Качване на файл
From LimeSurvey Manual
Кратко описание
Типът въпрос за качване на файл може да се използва за събиране на файл(ове) от потребител в отговор на въпрос. Например, компания с възможности за работа може да използва този тип въпрос, за да поиска от кандидата да изпрати/качи своето актуализирано CV, както и всички други сканирани документи в анкетата за заетост.
Пример: File upload question type.zip
Този въпрос дава възможност на дизайнера на проучването да ограничи файловете, които могат да бъдат качени от потребителя в отговор на въпроса. Например, администраторът на проучването може да разреши само PNG, JPG и JPEG изображения, които са с размер под 1 MB.
Общи опции
Дисплей
Hide tip (hide_tip)
Description
Most questions will usually include a tip that says "Please choose one of the following options" or a hint text on how to fill out the question. This attribute allows you to turn off or on this tips/hints.
These tips/hints include validation criteria messages (such as min/max number of answers, min/max/equals sum value). If hide_tip is enabled, these messages will be hidden. However, if the user enters invalid data, the tips will appear. They will be coloured in red, getting changed to green once the validation criteria are met.
Available options
- On - the tips/hints are hidden;
- Off (default).
Метаданни на файла
Show title (show_title)
Description
If enabled, a title textbox will be displayed where the respondent can enter a suitable title/subject for the uploaded file.
Available options
- On (default) - a title textbox is displayed
- Off
Show Comment (show_comment)
Description
If enabled, a comment textbox will be displayed where the respondent can enter any comments on the uploaded file.
Available options
- On (default) - a comment textbox is displayed
- Off
Логика
Друго
Maximum file size allowed (max_filesize)
The maximum size of a file that should be allowed to be uploaded by the user.
Example
If the maximum filesize is set to 1024 KB, any files larger than 1024 KB will be discarded, and the user will be asked to upload a smaller file.
Note: The final value shown to the survey participant is also depending on PHP settings, like post_max_size and upload_max_filesize. Of all three possible values (upload_max_filesize, post_max_size and max_filesize) the lowest one will be shown and used.
Allowed file types (allowed_filetypes)
Description
You may enter in this field the file types that are allowed to be uploaded by the respondent as answer to the question. The file formats must be separated by a comma.
Example
- One may enter: JPG, jpeg, png, gif.
Статистика
Display chart (display_chart)
Description
This attribute allows the survey administrator to choose if a chart that contains the question results should be displayed to the survey participants after they filled out the survey.
- public statistics survey setting from the presentation & navigation settings
- show graphs survey setting from the presentation & navigation settings
- public statistics question attribute, and
- display chart question attribute.
Available options
- On
- Off (default)