Array filter/sl: Difference between revisions
From LimeSurvey Manual
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 6: | Line 6: | ||
'''Opis''' | '''Opis''' | ||
<div class="mw-translate-fuzzy"> | |||
Filter polja vam omogoča izbiro odgovorov, ki se prikažejo v naslednjem vprašanju z lestvico. | |||
</div> | |||
<div class="simplebox"> | <div class="mw-translate-fuzzy"> | ||
* | <div class="simplebox">Od verzije 1.92 dalje je možno filtrirati odgovore za nadaljno vključevanje v vprašanja polj, vključno z: | ||
* | *Izbira več možnosti | ||
* | *Izbira več možnosti s kometarji | ||
* | *Več kratkih tekstovnih odgovorv | ||
* | *Več številčnih odgovorov | ||
* | *Lestvice in polja (5 stopenjska, 10 stopenjska, Da/Ne/Ne vem, Povečalo/Ostalo enako/Zmanjšalo, Stolpec) | ||
* | *Lestvica (Dvostopenjska lestvica, besedilo, števila) | ||
*Razvrstitev | |||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
Prav tako so lahko filtrirana tudi vsa ta vprašanja. | |||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
Edina izjema je tip vprašanja Polje (stolpci), ki se lahko uporabi za filtriranje drugih vprašanj, medtem ko ta vrsta vprašanja ne more biti filtrirana.</div> | |||
</div> | |||
''' | <div class="mw-translate-fuzzy"> | ||
'''Nastavitev filtra''' | |||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
Za nastavitev filtra vnesite kodo vprašanja z več možnostmi. Na primer, če je koda vprašanja "Q1" vnesite "Q1" v vnosno polje "Filter polja" ali v vnosno polje "Izločitev filtra polja", ki se nahajajo znotraj naprednih nastavitev vprašanja, ki ga želite filtrirati. Vidni bodo samo odgovori, ki so bili izbrani znotraj vprašanja Q1. | |||
</div> | |||
<div class="simplebox">If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;). </div> | <div class="simplebox">If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;). </div> | ||
{{Alert|Title=Attention|text=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.}} | {{Alert|Title=Attention|text=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. Note: When you want to filter the "other" answer option from the first question, you need to provide a subquestion for this answer in the second question and the subquestion code for this answer needs to be "other". Check the below example to better understand how the whole system works.}} | ||
<div class="simplebox">If multiple choice allow other setting: you can choose '''other''' for subquestion code and filter with other checked or not.</div> | |||
'''Cascading''' | '''Cascading''' | ||
Line 46: | Line 60: | ||
</onlyinclude> | </onlyinclude> | ||
[[Category:Question Settings]][[Category:Question | <div class="mw-translate-fuzzy"> | ||
[[Category:Question Settings/sl]][[Category:Advanced Question Settings/sl]] | |||
</div> |
Revision as of 10:31, 12 October 2022
Filter polja (array_filter)
Opis
Filter polja vam omogoča izbiro odgovorov, ki se prikažejo v naslednjem vprašanju z lestvico.
- Izbira več možnosti
- Izbira več možnosti s kometarji
- Več kratkih tekstovnih odgovorv
- Več številčnih odgovorov
- Lestvice in polja (5 stopenjska, 10 stopenjska, Da/Ne/Ne vem, Povečalo/Ostalo enako/Zmanjšalo, Stolpec)
- Lestvica (Dvostopenjska lestvica, besedilo, števila)
- Razvrstitev
Prav tako so lahko filtrirana tudi vsa ta vprašanja.
Nastavitev filtra
Za nastavitev filtra vnesite kodo vprašanja z več možnostmi. Na primer, če je koda vprašanja "Q1" vnesite "Q1" v vnosno polje "Filter polja" ali v vnosno polje "Izločitev filtra polja", ki se nahajajo znotraj naprednih nastavitev vprašanja, ki ga želite filtrirati. Vidni bodo samo odgovori, ki so bili izbrani znotraj vprašanja Q1.
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:
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.