Question type - Array/sl: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
{{QS:answer_width/sl}} | {{QS:answer_width/sl}} | ||
{{QS:array_filter}} | {{QS:array_filter/sl}} | ||
{{QS:array_filter_exclude}} | {{QS:array_filter_exclude}} |
Revision as of 22:27, 19 August 2013
Kratek opis
Lestvica vam omogoča ustvarjanje podvprašanj/trditev, ki stojijo na levi strani tabele. Tabela omogoča več različnih možnosti odgovarjanja. Primer uporabe lestvice so ocenjevalne lestvice.
Splošen opis
Prenesite si vzorec vprašanja v angleščini: Lestvica - fleksibilne oznake
Naslednja možnost lestvic so Semantične razlike . Izbrati morate tip vprašanja lestvica oziroma lestvica (5 stopenjska), nato dodate dele odgovorov, ki bodo na levi strani ločeno od odgovorov na desni. Uporabite znak '|'(na tipkovnici ga lahko dosežete preko kombinacije tipk "Alt Gr" ter črke "W" ali držite tipko Alt in vnesete 124) Primer: Če želite na skrajno levi in skrajno desni strani odgovora lestvice zapisano "Toplo" in "Hladno" zapišete v polje odgovora "Toplo|Hladno".
Prenesite si vzorec vprašanja v angleščini: Lestvica - semantične razlike
Nastavitve jedra
Obvezno
Opis
Ta možnost skrbnikom ankete omogoča, da od svojih anketirancev zahtevajo, da odgovorijo na določena anketna vprašanja. Če na obvezna vprašanja ne odgovorijo, anketiranci ne bodo mogli nadaljevati. Če imate vprašanje z več podvprašanji in zahtevate odgovor le na določena podvprašanja, uporabite atribut minimalni odgovor, ki se nahaja pod zavihkom Logika.
Razpoložljive možnosti
- Vklopljeno - na vprašanje je treba odgovoriti, preden lahko udeleženec nadaljuje na naslednjo stran - možnost odgovora 'Brez odgovora' ni nikoli prikazana.
- Soft - Če na vprašanje ni odgovorjeno, se ob poskusu nadaljevanja prikaže opozorilo naslednja stran - vendar se lahko udeleženec odloči, da opozorilo prezre in nadaljuje. Upoštevajte, da je možnost 'Brez odgovora' še vedno prikazana (če je aktivirana v nastavitvah predstavitve ankete)
- Izklopljeno (privzeto) - Vprašanje lahko ostane brez odgovora
Možnost 'Drugo' (drugo)
Opis
Ta možnost se uporablja pri tipu vprašanja, kjer anketiranec kot odgovor izbere več možnosti. Poleg seznama odgovorov ponuja polje poljubnega odgovora pod "Drugo".
'Razpoložljive možnosti
- Vklopljeno
- Izklopljeno (privzeto)
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.
Veljavne vrednosti
- Kateri koli pogoj, ki uporablja sintakso ExpressionScript brez okoliških zavitih oklepajev.
Primeri
Tu so dobri primeri označevanja sintakse.
Napredne nastavitve
Širina odgovora (širina_odgovora)
Opis
Ta vrednost nastavi širino stolpca odgovorov z uporabo sistema odstotkov. Na primer, če v to polje vnesete 40, bo za odgovore uporabljenih 40 odstotkov širine vprašanja. Preostala širina bo enakomerno razdeljena med podvprašanja.
'Veljavne vrednosti
- Katera koli cela vrednost od 1 do 100.
Filter polja (array_filter)
Opis
Nastavitev Filter matrike vam omogoča, da uporabite katero koli vprašanje z več možnimi odgovori, da izberete ali nastavite, kateri odgovori bodo prikazani na naslednjem seznamu, nizu ali vprašanju z več možnimi odgovori.
- Večkratna izbira
- Večkratna izbira s komentarji
- Večkratno kratko besedilo
- Večštevilsko
- Matrika (5 točk, 10 točk, Da/Ne/Neznano, Povečanje/Enako/Zmanjšanje, Stolpec)
- Matrika (dvojna lestvica, besedilo, številke)
- Razvrstitev
Poleg tega je vsako od teh vrst vprašanj mogoče filtrirati.
Edina izjema je »Matrika (stolpec)«, ki lahko filtrira druga vprašanja, ne pa tudi sebe.Kako nastaviti filter
Če želite nastaviti filter, vnesite kodo vprašanja vprašanja z več možnostmi v polje filtra niza vprašanja, ki ga trenutno urejate. Ustrezno vprašanje bo uporabljeno kot vir informacij za trenutno vprašanje, izbrani odgovori iz prejšnjega vprašanja pa bodo pridobljeni in uporabljeni kot možnosti odgovora za trenutno vprašanje. Na primer, če je vaša izvorna koda vprašanja z več možnostmi "Q1", vnesite "Q1" v polje 'Array Filter', da začnete postopek filtriranja odgovorov. V vprašanju z array_filter-ed bodo vidne samo možnosti odgovora, ki so izbrane v vprašanju Q1.
Kaskadno
Izbrane možnosti so lahko prikazane v kaskadi. To pomeni, da lahko izberete vprašanje, ki filtrira drugo vprašanje, ki filtrira drugo vprašanje itd.
Primer matričnega filtra
Oglejmo si naslednji primer, da bomo bolje razumeli moč te nastavitve:
Na zgornjem posnetku zaslona imamo dve vprašanji. Prvi je tip vprašanja "več kratkih besedil", medtem ko je drugi tip vprašanja "matrična dvojna lestvica". Odgovori, ki jih navedete v prvem vprašanju, bodo navedeni v drugem. Tehnično gledano so odgovori, ki jih podate na podvprašanja iz prvega vprašanja, filtrirani in prikazani v drugem vprašanju.
Ta primer lahko prenesete s te povezave: limesurvey_group_32.lsg. Uvozite to skupino vprašanj v svojo namestitev LimeSurvey.
Array exclusion filter (array_filter_exclude)
Description
The Array filter exclusion setting allows you to use any multiple choice question to select or set which responses are NOT displayed in a subsequent list, array or multiple choice question.
- Multiple choice
- Multiple choice with comments
- Multiple short text
- Multiple numeric
- Array (5 point, 10 point, Yes/No/Unknown, Increase/Same/Decrease, By column)
- Array (Dual Scale, Text, Numbers)
- Ranking
Furthermore, each of these types of questions can filtered.
The only exception is Array by column which can filter other questions, but it cannot be filtered.How to set it up
Enter the question code of a multiple options question in the array exclusion 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 non-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 exclusion filter' box to start the filtering process of the answers. Only the answer options that are NOT selected in question Q1 will be visible in your question.
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.
Example
Let's see together the below example:
In the screenshot from above, we got two questions. The first one is a multiple choice question type, while the second one is a multiple choice with comments question type. The answers you provide in the first question will be excluded from the second one. For example, if you select the ComfortUpdate option (that has the subquestion code 'SQ1') and the Plugin option ('SQ4'), the 'SQ1' and the 'SQ4' subquestion correspondents from the second question will be excluded. In our screenshot, we can observe that only the unselected options in the first question and displayed in the second one.
This example can be downloaded from the following link: Limesurvey_group_array_filter_exclude.zip. Import this question group into your LimeSurvey installation.
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.
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)
Show in public statistics (public_statistics)
Description
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.
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)
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.
Random answer order (random_order)
Description
This attribute causes LimeSurvey to ignore the existing order of answer options/subquestions, and instead it orders them randomly. This option permits the survey creator to diminish the survey bias. Please note that if a question has subquestions, the order of subquestions will be randomized, not the order of the answer options.
Available options
- Yes - Randomize when participant enters survey
- No (default)
SPSS export scale type (scale_export)
Description
This is used for SPSS export only. This attribute overrides the default scale guessed by SPSS. To learn what the different measurement scales do, please read the related SPSS documentation.
Available options
- Default (default)
- Nominal
- Ordinal
- Scale
Use dropdown boxes (use_dropdown)
Description
If this function is enabled, the answer options layout will use dropdown boxes instead of radio buttons.
Available options
- On - dropdown boxes are used.
- Off (default) - radio buttons are used.
Minimum answers (min_answers)
Description
This function can be used to ensure that a user selects at least a certain number of answers in a multiple choice question.
Valid values
- Any integer value above 0
- Any number
- Any SGQA code
- Any question code (variable name)
- Any equation, using ExpressionScript syntax, without surrounding curly braces.
Example
If set to X (a random number), the users can submit the survey form if they select at least X checkboxes. If this option is utilised for ranking questions, this ensures that at least three items are ranked before allowing the respondent to submit the answers/survey.
Maximum answers (max_answers)
Description
It can be used to limit the total number of answers a user can select in a multiple choice question.
Valid values
- Any number value
- Any SGQA code
- Any question code (variable name)
- Any equation, using ExpressionScript syntax, without surrounding curly braces.
Example
If set to 2, the user will only be able to check at most two checkboxes or one checkbox + fill the "Other" field (if any). For the Ranking question type, the participant would be able to select maximum two items.