Actions

Spørgegrupper - introduktion

From LimeSurvey Manual

Revision as of 10:58, 29 December 2023 by Maren.fritz (talk | contribs) (Created page with "<div class="simplebox">File:help.png '''Tip:''' Grupper kan bruges til at gruppere spørgsmål i en undersøgelse. Hvis du vil have flere grupper, skal du være opmærksom...")


Bemærk venligst, at nedenstående forklaringer og skærmbilleder er baseret på LimeSurvey 3.


Opret spørgsmålsgruppe

Grupper er en fantastisk måde at organisere dine undersøgelser på ved at placere dem i kategorier (grupper). Hvordan du kategoriserer dine undersøgelser/grupper er helt op til dig.

Sådan tilføjer du spørgsmålsgrupper til din undersøgelse:

(1) Klik på +Tilføj spørgsmålsgruppe fra fanen undersøgelse struktur i din undersøgelse.



Når du har klikket på Tilføj spørgsmålsgruppe, vil panelet Tilføj spørgsmålsgruppe blive vist.

(2) Udfyld de påkrævede felter.



Tilføj spørgsmålsgruppe felter

  • Titel: Indtast i denne boks det navn, du ønsker at give til spørgsmålsgruppen;
  • Beskrivelse: Dette felt giver dig mulighed for at udgive en forklarende note til ethvert sæt spørgsmål. Hvis du tilføjer en beskrivelse, vil den blive præsenteret sammen med undersøgelsen, før du påbegynder nogen af spørgsmålene i den pågældende gruppe. Hvis der ikke tilføjes nogen tekst, vil offentlige deltagere blot gå direkte til undersøgelsesspørgsmålene. Du kan bruge HTML-editoren til at inkludere billeder, formateret tekst osv. efter din smag;
  • Randomiseringsgruppe: For at begynde at randomisere en spørgsmålsgruppe skal du indtaste en streng i feltet såsom randgruppe1. Du skal indtaste den samme streng i alle spørgsmålsgrupper, som du vil randomisere, og som derefter vises i en tilfældig rækkefølge, når du tager undersøgelsen. Kun pladser i samme gruppe vil blive skiftet tilfældigt!
  • Relevansligning: Du kan indstille en "relevansligning" i dette felt for gruppen ved hjælp af ExpressionScript. Dette er nyttigt til "looping" eller andre tilfælde, hvor du gentager lignende indhold flere gange. Sig for eksempel, at du vil stille det samme sæt opfølgende spørgsmål til hvert barn i en husstand, og du har spurgt, hvor mange børn der er, via et spørgsmål ved navn numKids. Derefter skal du for hver gruppe af opfølgende spørgsmål bruge relevansligninger (som ville indsamle data om det tredje barn) såsom: antalBørn == 3;
Bemærk: En forklaring og et eksempel på at skjule spørgsmålsgrupper er tilgængelige i [[1] ].
Tip: Grupper kan bruges til at gruppere spørgsmål i en undersøgelse. Hvis du vil have flere grupper, skal du være opmærksom på, at undersøgelsesspørgsmålene vil blive vist gruppe for gruppe som standard (du kan ændre det fra dine undersøgelsesindstillinger). For at vise grupperne i en bestemt rækkefølge ved hjælp af funktionen til omarrangering af grupper. Hvis du kun har én gruppe i din undersøgelse, er navnet på denne gruppe irrelevant (bortset fra undersøgelsesformatet).


Du kan oprette så mange grupper, du vil!


Add question group toolbar

You will find the following options on the top toolbar:



  • Display/Export: This function is used to export your whole survey in different formats.
  • Survey participants: Clicking this button will redirect the survey administrator to his/her survey participants table.
  • Responses: If the survey is active, the button becomes visible. It offers you access to the responses table.
  • Import a group: Besides the two ways mentioned above, new question groups can also be added via the import group function.

Import a question group

You can also import a question group (.lsg file format) that was previously exported from a LimeSurvey survey.


(1) From the survey Structure tab, click +Add question group.

(2) Click Import a group on the top toolbar.



(3) Browse your computer/server and upload the .lsg file that contains the question group you wish to import.


Question group actions

After the creation of a survey, you can access the newly created group from the survey structure menu. The following page will be displayed:



The page is divided into three sections:

  • Question group toolbar: You will find the following options on the toolbar:
    • Preview survey/question group: Click one of the two buttons to either preview your whole survey or only the current question group. If additional languages were added to your survey, the survey/question group can be previewed in each language of the survey. Just click one of the two preview buttons and select the desired language.
    • Edit current question group: Click this button to edit the title, description, relevance equation, or randomization group of the current question group.
    • Check survey logic for current question group: This helps you see the possible errors that might exist within a question group - it is especially useful when the ExpressionScript is used.
    • Delete current question group: To delete the current question group, click this button.
    • Export this question group: If you wish to export this question group to later import it into another LimeSurvey survey, click this button. The file will be exported in the .lsg format.
  • Group quick actions: This allows you to quickly perform question-groups-related actions - in our case, the add new question to group option is displayed. To find out more about questions, read our introductory wiki section on question.

Preview question group

Once you have started to add questions into your group, you may want from time to time to preview how the respective question group looks. To do that, look for the question group button that can be accessed from the:

When previewing a group, the relevance of this group is automatically forced to true.
 Hint: You can add GET params in URL to prefill questions.


Preview question group - survey structure

Click the survey Structure tab, select the desired Question group, and click preview question group:


Preview question group - question group panel

You can preview the question group once you have finished editing it.


preview question group - question panel

The question group to which questions belong can be previewed from the question panel - see the top bar:


Reordering question groups

The question groups and questions can be reordered. For further details, read the survey structure wiki subsection.

Example

The relevance equation offers many possibilities to further customize your survey. A simple example is presented below to show how some question groups can be hidden according to the answer provided by the respondent to a prior question (part of another question group). For example, if you want to find out more information about parents that have one child in comparison to those with two or more, using the relevance equation to hide certain questions/question groups is recommended.


Link .lss file: Question_groups_simple_example.zip -> For instructions on how to import the file, refer to the following wiki section.



The above file contains three question groups, each containing one question. Question group "1kid" is displayed only if the value introduced by the respondent to the question "numkids" is 1. Question group "2ormorekids" is displayed only if the answer to the question "numkids" is >1.

This is just a simple example to show how expressions can be used to further customize your survey. For more details, please read about the ExpressionScript functionality.

Notes:
  • There are several ways to hide questions. One is to use conditions. However, for more complex surveys, the ExpressionScript has to be used.
  • If you use expressions, don't forget to look for syntax errors with the help of the logic file.