Actions

Tip vprašanja - Nalaganje datoteke

From LimeSurvey Manual

This page is a translated version of the page Question type - File upload and the translation is 35% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎slovenščina • ‎日本語

Kratek opis

The file upload question type can be used to collect file(s) from a user in response to a question. For example, a company with employment opportunities could use this question type to request the candidate to submit/upload his or her updated CV, as well as any other scanned documents in the employment survey.

File-upload-screenshot.png


Example: File upload question type.zip

This question gives the survey designer the ability to restrict the files that can be uploaded by the user in response to the question. For example, the survey administrator can allow only PNG, JPG, and JPEG images which are less than 1 MB in size.

General options

Enačba relevantnosti

Opis

Vsako vprašanje vam omogoča določiti enačbo relevantnosti, ki je naslednik pogoja. Z enačbo relevantnosti lahko ustvarite veliko bolj zapleteno pogojno logiko.

Označevanje sintakse

Kadarkoli boste shranili enačbo relevantnosti, bo ovrednotena, pregledana bo tudi sintaksa enačbe. Morebitne napake bodo barvno označene, tako da jih boste lahko hitro odkrili in popravili.

Notice.png
 Hint: To check if all the relevance equations are used correctly within your survey, read about our show logic file feature.


Veljavne vrednosti

Vsaka enačba, ki uporablja sintakso Urejevalnika izrazov, brez zavitih oklepajev.

Primeri

Uporabni primeri: Označevanje sintakse.


Display

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).


Question theme (question_theme)

Description

It allows you to use customized themes for the respective question.

Available options

  • Your created question themes which are located under the Question themes in the Themes panel.
Help.png Note: This feature is under development at the moment.


Vedno skrij to vprašanje (hidden)

Opis

If enabled, the question will always be hidden - it will not be displayed to the survey participants. This function can be used in the following scenarios:

To nastavitev lahko uporabite, če ste nadomestili vprašanje z URL povezavo in ga anketirancu ne želite prikazati (vključno z njenimi vrednostmi). S tem se izničijo postavljeni pogoji, ki se navezujejo na to vprašanje, saj le to dejansko niti ni bilo postavljeno. Če pa želite vprašanje le skriti (na primer, če želite shraniti vrednost izračunana ***on the fly ***), potem uporabite JavaScript, ki je vgrajen v izvorno kodo vprašanja.

Notice.png
 Hint: Vprašanje se ne prikaže v HTML-ju, določi se lahko z vprašanjem tipa Enačba ali URL-jem ankete, vendar ne v javascript-u

Veljavne vrednosti

  • Da
  • Ne (default)

Available options

  • On
  • Off (default)


CSS class (css_class)

Description

If you want to add special CSS classes to certain questions, you can enter the CSS class name(s) in this box. Make sure you leave an empty space between different class names.

Valid values

  • Any text string with a space between different CSS class names.
Notice.png
 Hint: You can also insert an expression in this box (New in 3.0.0 ). Remember that the output of the expression will not be updated dynamically.


Important.png
  According to the W3C, CSS class names can contain only the characters [a-zA-Z, and 0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_). They cannot start with a digit, or a hyphen followed by a digit. LimeSurvey encodes CSS classes, but it does not fix it totally.


File metadata

QS:Show title/sl

QS:Show comment/sl

Logic

Ime naključne skupine (random_group)

Opis

Vprašanje doda v skupino, kjer se vsa vprašanja prikažejo po naključnem vrstnem redu.

You can find a sample survey using randomization group name in ExpressionScript sample survey.

Veljavne vrednosti

Vnesite poljuben želen niz (na primer: 'skupina1'). Vprašanja, ki vsebujejo ta niz, bodo vključena v anketo z naključnim prikazom (=vprašanja se naključno izmenjujejo med seboj).


Other

Insert page break in printable view (page_break)

Description

This attribute is only active when you actually print a survey from the Printable View. It forces a page break before the question.

Available options

  • On
  • Off (default)



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.


QS:Maximum number of files/sl

QS:Minimum number of files/sl

QS:Allowed filetypes/sl

Statistics

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.

Help.png Note: To have the chart displayed on the last page, you have to enable the following options:


Available options

  • On
  • Off (default)



Chart type (chart_type)

Description

This attribute allows the survey administrator to choose which type of chart will be displayed to the respondent once he/she finished filling out the survey.

Help.png Note: Do not forget to change the question and survey settings in order to have the charts displayed at the end on the survey. For more details, check the wiki section on the display chart question attribute.

Available options

  • Bar chart
  • Pie chart
  • Radar
  • Line
  • PolarArea
  • Doughnut