Actions

Tip vprašanja - Nalaganje datoteke

From LimeSurvey Manual

Revision as of 08:31, 29 August 2013 by Anjaf (talk | contribs) (Created page with "=Napredne nastavitve=")

Kratek opis

Pri tipu vprašanja nalaganje datotek (od verzije 1.91 naprej) je omogočen prenos datotek, ki jo kot odgovor naloži anketiranec. Primer uporabe nalaganja datotek bi lahko bilo podjetje, ki v anketnem vprašalniku zahteva še življenjepis kandidata, ki ga lahko naloži preko vmesnika. Prav tako lahko anketiranec naloži kakšno sliko/fotografijo ali skeniran dokument.

To vprašanje daje oblikovalcu ankete možnost omejitve katere vrste datotek so lahko naložene. Na primer, administrator lahko dovoli nalaganje tipov datotek, kot so PNG, JPG in JPEG, ki so manjše od 1 MB.

Glavne nastavitve

Pogoj (prej "Enačba ustreznosti")

Opis

Če je rezultat pogoja »1« ali »true«, je vprašanje v kontekstu ankete »relevantno«, torej se prikaže anketirancu. Če ne, je vprašanje skrito. Vsako anketno vprašanje vam omogoča, da določite enačbo pomembnosti. Ta funkcija je naslednica pogojev in podpira veliko bolj zapleteno pogojno logiko.

Označevanje sintakse

Kadarkoli shranite pogoj, je ovrednoten in sintaktično poudarjen. Morebitne napake bodo označene z barvami, da jih boste lahko hitro odkrili in odpravili.

 Hint: Če želite preveriti, ali so vsi pogoji v vaši anketi pravilno uporabljeni, preberite o naši funkciji prikaži logično datoteko.


Veljavne vrednosti

  • Kateri koli pogoj, ki uporablja sintakso ExpressionScript brez okoliških zavitih oklepajev.

Primeri

Tu so dobri primeri označevanja sintakse.


Napredne nastavitve

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


QS:Maximum filesize allowed


Maximum number of files (maximum_number_of_files)

Description

The maximum number of files that can be uploaded in response to this question.

Valid values

  • Any positive integer
  • Any number (will be rounded to integer)
  • Any SGQA code
  • Any question code (variable name)
  • Any equation, using any Expression Manager syntax, without surrounding curly braces.



Minimum number of files (minimum_number_of_files)

Description

The minimum number of files that must be uploaded in response to this question.

Valid values

  • Any positive integer
  • Any number (will be rounded to integer)
  • Any SGQA code
  • Any question code (variable name)
  • Any equation, using Expression Manager syntax, without surrounding curly braces.



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.
  When checking the allowed file types, LimeSurvey check extension and mime type. Default system know common mime types. If you need specific file type, you have to update your config.php file.




Randomization group name (random_group)

Description

It places the questions into a specified randomization group, all questions included in the specified group being displayed in a random order to the survey respondents.

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

Valid values

Just enter any string you like (for example: 'group1'). All question which have set the same string within the randomization group name box will have their place in the survey randomized (=randomly exchanged among each other).


Preview To preview the questions use the preview survey instead of the preview question group function, as the second has been reported to not show the questions in a randomized order.


Always hide this question (hidden)

Description

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:

  • If you wish to prefill a question with a URL and you want not to have it displayed on the screen. This overrides any conditions used within the survey because the respective question will not even be embedded on the page.
  • If you wish to store or calculate a value on the fly via the ExpressionScript - Presentation.
Note: A common question type that is used with this function is the Equation one.

Available options

  • On
  • Off (default)


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)