Actions

Tip vprašanja - Razvrščanje

From LimeSurvey Manual

This page is a translated version of the page Question type - Ranking and the translation is 39% complete.

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

Kratek opis

Ta tip vprašanj omogoča anketirancu razvrščanje odgovorov/možnosti po vrstnem redu glede na pomembnost postavke. Ranking example.jpg


Ranking example.jpg


Primer: Prosimo razvrstite barve po vrsti glede na to, kako všeč vam je katera barva.


Glavne nastavitve

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎Nederlands • ‎slovenščina
<onlyinclude>

Obvezno (obvezno)

Opis

S pomočjo te nastavitve lahko določite ali mora anketiranec odgovoriti na vsa vprašanja ankete. Če ustvarite vprašanje z več podvprašanji, lahko z nastavitvijo min_answers določite, da bo anketiranec odgovoril le na določene dele ankete in ne vse.


Help.pngIf you use any of the preinstalled themes and the mandatory question attribute is enabled, a red asterisk will be shown next to the question. If you wish to hide it, please check these instructions.


Veljavne vrednosti

  • Da
  • Ne (privzeto)
Important.png
Enabling the mandatory attribute in a ranking question type forces your respondents to assess all the answer options. If you wish to make your respondents rank a minimum and/or maximum number answer options, use the minimum answers and maximum answers question attributes to set the lower and upper limits.


Relevance equation

Opis

If the value of the relevance equation is "1" or "true", the question is "relevant" in the survey context, i.e. it is shown to the survey participant. If not, the question is hidden. Any survey question allows you to specify a relevance equation. This function is the successor of conditions and supports much more complex conditional logic.

Označevanje sintakse

Whenever you save the relevance equation, it is evaluated and syntax-highlighted. Any errors will be color coded so that you can quickly detect and fix them.

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

  • Any equation that makes use of the Expression Manager syntax, without surrounding curly braces.

Primeri

Here are good examples of syntax highlighting.


Napredne nastavitve


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.


QS:Hide tip/sl

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎Nederlands • ‎slovenščina

<onlyinclude>

Naključni vrstni red odgovorov (random_order)

Opis

V tem primeru sistem LimeSurvey ne upošteva vrstnega reda odgovorov oziroma podvprašanj. Razvrsti jih povsem naključno. Pri tem načinu se vrstni red odgovorov spremeni vsakič, ko se vprašanje znova prikaže, kar pomeni, če se v anketi anketiranec vrne na prejšnje vprašanje se bo vrstni red zopet spremenil. Naključni vrstni red vprašanj omogoča nepristransko odgovarjanje na vprašanja. Naključnost odgovorov na vprašanje omogočite pri nastavitvah posameznih vprašanj.

Možnosti

  • Vklopljeno
  • Izklopljeno (privzeto)

Example

See this example (outside link) to better understand how to use different LimeSurvey randomization features.


Always hide this question (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:

  • 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 Expression Manager.
Help.png Note: A common question type that is used with this function is the Equation one.

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.


Show javascript alert (showpopups)

Description

Show an alert if answers exceeds the number of max answers. Else just update the expression manager tip (show it in red).

Available options

  • On (default option)
  • Off


Same choice height (samechoiceheight)

Description

If this option is enabled, then all the answer options defined within this question type will have the same height. For example, the height of the answer options usually defer from each other if they contain images (unless the dimension is the same across all your answer options).

Available options

  • On (default value)
  • Off



Same list height (samelistheight)

Description

The ranking question type makes use of a choice list (where all the answer options are displayed) and of rank list (where the answer options are ranked). If this option is activated, both lists will have the same height.

Available options

  • On (default value)
  • Off



Relevance help for printable survey (printable_survey_relevance_help)

Description

If you wish to print a survey, you can also print the relevance equations for each question. But, if you wish to offer instead an explanation rather than the expression on the printed form, fill in this box with the text explanation for the relevance equation.

Valid values

  • Any text and/or numbers you wish to be displayed on the printable form.


Logic

QS:Min answers/sl

QS:Max answers/sl


Maximum columns for answers (max_col_for_ans)

Description

This option limits the number of columns created in the database (more precisely, in the answers table). If you give a value lower than maximum answers option, then this attribute will represent the upper limit of the maximum choices a respondent can make.

Valid Values

  • Any positive numerical value
  • The default value is the total number of answer options your question contains. The number will be displayed after you activate for the first time the survey.



Filter polja (array_filter)

Opis

The Array filter setting allows you to use any multiple choice question to select or set which responses are displayed in a subsequent list, array or multiple choice question.

The subsequent questions can be filtered on any array question type, including:
  • Multiple choice
  • Multiple choice with comments
  • Multiple short text
  • Multiple numeric
  • Array (5 point, 10 point, Yes/No/Unknown, Increase/Same/Decrease, Column)
  • Array (Dual Scale, Text, Numbers)
  • Ranking

Furthermore, each of these question types can be filtered.

The only exception is Array (Column), which can filter other questions, but not itself.

How to set a filter

To set a filter, enter the question code of a multiple options question in the array filter box of the question you are currently editing. The respective question will be used as the source of information for the current question, the selected answers from the previous question being retrieved and used as answer options for the current question. For example, if your source multiple option question code is "Q1", enter "Q1" into the 'Array Filter' box to start the filtering process of the answers. Only the answer options that are selected in question Q1 will be visible in the array_filter-ed question.

If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;).
Important.png
The subquestion codes used in the first question must coincide with the subquestion codes from the second one. Otherwise, the array filter function will not filter the answers to the first question. Check the below example to better understand how the whole system works.

Cascading

The selected options can be displayed in cascade. This means that you can select a question which filters another question, which filters another question, and so on.

Array filter example

Let's take a look at the following example to better understand the power of this setting:


Array filter with multipe short text.jpg


In the screenshot from above, we got two questions. The first one is a multiple short text question type, while the second one is an array dual scale question type. The answers you provide in the first question will be listed in the second one. Technically, the answers you provide to the subquestions from the first question are filtered and displayed in the second question.

This example can be downloaded from the following link: limesurvey_group_32.lsg. Import this question group into your LimeSurvey installation.


QS:Array filter exclude/sl

QS:Array filter style/sl


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



Question validation equation (em_validation_q)

Description

This is an equation that is used to validate the entire question (e.g, all of its parts collectively for a multi-answer question). If the question fails the validation criteria, then em_validation_q_tip message will be displayed (it uses the CSS style .error). This tip uses the .em_q_fn_validation CSS style, which is hidden by default within template.css.

The main difference between this feature and the subquestion validation equations (em_validation_sq option) is that for this feature, if the question (or question parts) fail validation, then an error message could be shown. For the subquestion validation, each text entry cell (e.g., in an array question type, but it can also be applied to single entry question types) will be styled so that the background color is (light) red.

Valid values

  • Any equation that makes use of the Expression Manager syntax, without surrounding curly braces.

Example

  • You want to collect demographic information from users via a multiple short text question, and you want to validate that the user has entered a valid email address and phone number.

This example shows how the question looks with invalid answers:

Validation-invalid-both.jpg

And here is what it looks like with one invalid answer:

Validation-invalid-phone.jpg

Here is how you edit a question to enter that information:

Validation-gui.jpg

And here is part of the Show Logic File output that lets you check the accuracy of your expression and ensure that there are no syntax errors:

Validation-logic.jpg

As you can see, the validation equation tests that both the email and phone number are either empty or match a regular expression filter.

The validation tip only shows the warning message if the phone or email appears invalid.

Notice.png
Hint: In order to create complex validation messages, read about the usage of the Expression Manager.


If you wish to import the example from above into your LimeSurvey installation, download the following .lsq file: Em_validation_q_example.zip.

Notice.png
Hint: Remember, LimeSuvey uses the Perl syntax for regular expressions, so they should start and end with / (slash character)!



Tip for whole question validation equation (em_validation_q_tip)

Description

If you are using the question validation equation, you can use this box in order to display an optional message as question tip on how the question has to be filled out.

Valid values

Example

See the example from the question validation equation wiki section- it shows how the tip can be tailored to show which parts of a multiple short text question fail the validation criteria.


Other

Insert page break in printable view (page_break)

Opis

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)



Choice header (choice_header)

Description

Type in the box the new name of the choice list header.

Valid values

  • If left empty, the header will be "Your choices" (default value)
  • Any characters



Rank header (rank_header)

Description

Type in the text box the new name of the ranking list header.

Valid values

  • If left empty, the header will be "Your ranking" (default value)
  • Any characters


Statistics

Prikaži v javni statistiki (public_statistics)

Opis

This attribute allows the survey administrator to chose if a particular question results should be displayed to the survey participants after they submitted the survey.

Help.png Note: To have the statistics displayed on the last page, do not forget to enable this functionality from the presentation & navigation settings. Otherwise, no statistics link will be displayed at the end of your survey.

The default setting for each question is 'Off' (=Do not show the question statistics to the respondents). You have to enable this for every single question if you want to show the survey statistics of that (those) particular question(s) to the survey participants after the survey submission.

Available options

  • On
  • Off (default)



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