Actions

Fragetypen

From LimeSurvey Manual

Revision as of 15:00, 6 June 2013 by C schmitz (talk | contribs) (Text replace - "ß" to "ß")

Allgemeines

Diese Seite zeigt eine visuelle Übersicht über alle verfügbaren Fragetypen und ist als ein Ausgangspunkt gedacht, um zu detaillierten Informationen zu jedem Fragetyp weiterzuführen.

Übrigens, das LimeSurvey Download Paket enthält eine Beispielumfrage in der alle Fragetypen vorkommen. Sie findet sich im Verzeichnis /docs/demosurveys - einfach importieren und ausprobieren!

Hinweis: Eine LimeSurvey Umfrage besteht aus Fragegruppen, die wiederum aus einer oder mehrerer Fragen bestehen. Daher muss vor dem Hinzufügen von Fragen zu einer Umfrage mindestens eine Fragegruppe erstellt werden.

Teilfragen

Das Konzept der Teilfragen ist neu in LimeSurvey Version >=1.90. Allerdings hat es schon in älteren Versionen von LimeSurvey Teilfragen unter anderer Bezeichnung gegeben - die Funktionalität wurde damals hauptsächlich durch Beschriftungssets abgedeckt. In LimeSurvey 1.90 sind sie nun klar definiert und logisch strukturiert.

Eine Erklärung von Teilfragen

Üblicherweise hat eine Frage nur Antwortoptionen. Es gibt aber bestimmte Fragetypen (wie die Matrix) die eigentlich eine Zusammenfassung mehrerer Teilfragen sind, wobei jede Teilfrage vom Teilnehmer der Umfrage einzeln beantwortet werden kann (beispielsweise unter Nutzung einer vordefinierten Skala von Antwortoptionen).

Ein etwas komplexeres Beispiel ist der Fragetyp 'Matrix Text' in dem der Teilnehmer die Möglichkeit zur Texteingabe für bestimmte Kombinationen hat. In diesem Fall ist diese Eingabe die 'Antwort' und die Zeilen- bzw. Spaltenbezeichnungen stellen die Teilfragen dar.

Fragen-Design

Es ist möglich, in der Regel das Frage Layout/Design durch die Verwendung von CSS zu bearbeiten. Mehr Informationen finden Sie unter Fragenlayout mit CSS.

Fragetypen

Matrix

Der Typ Matrix erweitert den Typ Liste. Die Matrix ermöglicht die Darstellung von Teilfragen in Spalten, wobei für jede Zeile dieselben Antwortoptionen angeboten weden. Der Text kann eine spezifische Frage sein oder auch nur eine Beschreibung.

In Bezug auf die Art, wie die Antworten gespeichert werden, gibt es keinen Unterschied zum Typ 'Liste Optionsfelder'. In beiden Fällen handelt es sich um eine separate Spalte in der Ergebnistabelle.

Neben den höchst flexiblen Typen 'Matrix', 'Matrix(Text)' und 'Matrix (Zahlen)' unterstützt LimeSurvey gegenwärtig eine Reihe von Matrizen mit bereits vordefinierten Antwortmöglichkeiten:


zB.: Diese Organisation ist wichtig für die USA (1=stimme vollkommen zu, 5=stimme gar nicht zu):

Find out more about the Array question type...

Matrix(5 Punkte Auswahl)

<translate>

It is an array type that is prefilled with answer choices. An 1 to 5 scale is used. A "No answer" answer option is automatically added if the question is not mandatory.

Hint: If you need scales other than 5 points, use the general array question type.


Example: Array 5 point choice example.zip

</translate>

Find out more about the 5 point choice Array question type...

Array (10 point choice)

<translate>

It is an array question type that is prefilled with answer choices on a 1 to 10 scale. A "No answer" answer option is automatically added if the question is not mandatory.

Hint: If you need to use another scale, change the question type to the general array question type.

Example: Array 10 point choice example.zip

</translate>

Find out more about the 10 point choice Array question type...

Array (Yes/No/Uncertain)

<translate>

It is an array question type that is prefilled with the following answer choices: "Yes", "No", and "Uncertain". You can also add a "No answer" choice if the question is not mandatory.


Example: Array Yes No Uncertain Example.zip

The "No answer" option is displayed if the question is not mandatory.
</translate>

Find out more about the Yes/No/Uncertain Array question type...

Array (Increase/Same/Decrease)

Beurteilen Sie die folgenden Vorschläge:

Find out more about the Increase/Same/Decrease Array question type...

Array by column

Dies ist das Beispiel für eine Matrix(Flexible Arrays), in der die Teilfragen als Spaltenüberschriften verwendet werden:

Fragetyp für den import in die eigene Umfrage downloaden

Find out more about the Array by column question type...

"1" - Matrix(Flexible Beschriftung) Dual Matrix

Der Fragetyp Matrix(Flexible Beschriftung) Dual Matrix ermöglicht jeweils eine Skala für zwei verschiedene Antwortoptionen pro Teilfrage (siehe Beispiel unten). Der Wortlaut der beiden Optionen kann per Frageattribute 'dualscale_headerA' und 'dualscale_headerB' eingestellt werden (dzt. nur englisch):

Fragetyp für den import in die eigene Umfrage downloaden

Es kann auch ein spezielles Attribut gesetzt werden (dzt. nur englisch) um für die Beantwortung Dropdown Listen anzubieten:

Fragetyp für den import in die eigene Umfrage downloaden

":" - Matrix(Multi Flexibel) (Zahlen)

seit 1.80

Neu seit Version 1.80 ist die Matrix(Multi Flexibel) (Zahlen). Dieser Fragetyp stellt ein Raster an Dropdown Listen zur Verfügung, wobei jeweils ein Satz an Teilfragen als Beschriftung der "y-Achse" und ein anderer Satz an Teilfragen als Beschriftung der "x-Achse" dient. Das Raster kann gegebenenfalls durchaus groß sein. Als Voreinstellung enthalten die Dropdown Listen die Zahlen von 1 bis 10, dies zu ändern ist über die Frageattribute möglich. Wird hier nur ein Minimalwert eingegeben, so wird der Wertebereich zwischen dieser Zahl und dem, um 10 vermehrten Wert liegen, spezifiziert man nur einen Maximalwert, so reicht die Skala von 1 bis zu diesem Wert. Werden beide Werte eingegeben, so darf nicht min > max sein, da dann keine Dropdown Liste angezeigt wird. Ansonsten arbeitet das Wertepaar wie zu erwarten ist.

Fragetyp für den Import in die eigene Umfrage downloaden

Es kann ein spezielles Frageattribut (dzt. nur englisch) gesetzt werden um diesen Fragetyp mit Checkboxen zu verwenden:

Fragetyp für den Import in die eigene Umfrage downloaden

";" - Matrix(Multi Flexibel) (Text)

seit 1.80

Der Matrix(Multi Flexibel) (Text) Fragetyp stellt ein Raster an Textfeldern zur Verfügung, wobei jeweils ein Satz an Teilfragen als Beschriftung der "y-Achse" und ein anderer Satz an Teilfragen als Beschriftung der "x-Achse" dient. Das Raster kann gegebenenfalls sehr groß sein.

Matrix Filter: Angezeigte Antworten anhand einer Mehrfachauswahlfrage filtern

In den erweiterten Einstellungen besteht unter dem Punkt Matrix Filter die Möglichkeit die angezeigten Antwortzeilen anhand einer vorher gestellten Mehrfachfrage zu filtern. Dort kann ein Fragen-Code angeben werden, die Matrixfrage enthält dann nur die Antworten die vorher in der Mehrfachauswahl ausgewählt wurden.

Matrix Ausschlussfilter funktioniert ähnlich, mit dem kleinen Unterschied dass die in der Mehrfachauswahl ausgewählten Antworten nicht in der Matrix-Frage angezeigt werden.

Wichtig: Die Antwortcodes und -Bezeichnungen der Mehrfachauswahl-Frage und der Matrix-Frage müssen übereinstimmen damit der Filter ordnungsgemäß funktioniert.

Beispiel:

Frage 1: Welche Tiere halten sie in ihrem Haushalt?

Fragencode: MEH (findet man nachdem du eine neue Frage erstellt oder jene im Menü ausgewählt wurde in der Übersicht zur Frage "Code: ... (Optional)")

Antwort Hund (ausgewählt)

Antwort Katze

Antwort Maus

Antwort Hase (ausgewählt)

Antwort Fische

Frage 2 (Matrix): Wie aufwändig ist die Haltung der von ihnen gehaltenen Haustiere?

Erweiterte Einstellungen -> "Matrix Filter" -> MEH

Antwort Hund: Option1|Option2|Option3

Antwort Hase: Option1|Option2|Option3

Fragemasken:

D - Datum

Dieser Fragetyp wird verwendet, um mit dem Formular oder mit dem Javascript Kalender ein bestimmtes Datum abzufragen. Das Datum muss im Format JJJJ-MM-TT vorliegen, als z.B. 2009-12-31.

Setzte man das Frageattribut dropdown_dates (dzt. nur englisch) auf "1" werden drei Dropdown Listen für die Eingabe des Datums zu Verfügung gestellt. Seit Version 1.80 kann der Datumsbereich für die Dropdown Listen mittels min. und max. (dzt. nur englisch) eingeschränkt werden.

G - Geschlecht

N - Numerische Eingabe

Die Eingabe ist beschränkt auf Ziffern und Dezimalpunkt.

K - Mehrfache numerische Eingabe

Hinweis: Die Möglichkeiten dieses Fragetyps (z.B. Schieberegler, max_num_value) können auch genutzt werden, wenn nur ein Begriff bewertet werden soll. Es ist dann einfach nur das benötigte Element in die Liste der Teilfragen einzugeben.

Dieser Fragetyp ist, wie "Mehrfache kurze Texte", eine Variation von "Numerischer Input". Es werden meherere Felder erzeugt, die nur numerische Eingaben (Ziffern und Dezimalpunkt) zulassen. Die Beschriftung entstammt aus einer korrespondierenden Teilfrage. Es gibt verschiedene Frageattribute (dzt. nur englisch) die die Funktionalität diese Fragetyps erweitern. Das folgende Beispiel zeigt die Verwendung des equals_num_value Attributes (dzt. nur englisch) das die Summe der eingegebenen Werte mit einer Zahl vergleicht:

Download this question type to import it at your survey

numerische Eingabe -> Schieberegler

seit 1.80

Seit Version 1.8 gibt es einen neue Möglichkeit in Verbindung mit dem Fragetyp Mehrfache numerische Eingabe jquery zu verwenden. Setzt man das Frageattribut slider_layout (dzt. nur englisch) auf 1 wird die statt der numerischen Eingabe ein Schieberegler angezeigt. Details aller Eigenschaften sind im Kapitel Frageattribute (dzt. nur englisch) beschrieben. Das Aussehen des Schiebereglers ist über CSS definiert, in der Standardvorlage in der Datei .ui-slider.

R - Reihenfolge

Erlaubt dem Teilnehmer eine Liste von Antwortmöglichkeiten nach Präferenz zu reihen. Die Funktionalität des Fragetyps basiert javascript.

z.B.: Bitte ordnen Sie die folgenden Farben nach dem Regenbogen:

X - Textbaustein

Dieser "Fragetyp" wird nicht vom Benutzer beantwortet, vielmehr ist es eine Möglichkeit, zusätzlich erklärenden Text anzuzeigen oder auch eine Unterbrechung in der Darstellung zu erreichen. Textbausteine können auch HTML ode rjavascript beinhalten und somit auch für andere Aufgaben verwendet werden.

Y - Ja/Nein

I - Sprachwechsel

Mithilfe dieses Fragetyps ist es möglich, die Sprache der Umfrage zu ändern. Der Benutzer erhält eine Auswahlliste jener Sprachen, für die die Umfrage verfügbar ist (Basissprache und optionale Sprachen).

Mehrfachauswahl

Mitunter soll der Benutzer die Möglichkeit haben, mehrere Antworten auf eine Frage zu geben. Dazu dient der Fragetyp Mehrfachauswahl.

M - Mehrfachauswahl

P - Mehrfachauswahl plus Kommentarfeld

Einfachauswahl

Dieser Fragetyp bietet nur eine mögliche Eingabe. Beispielsweise erfordert die Frage 'Wie ist Ihr Name?' nur eine einzige Antwort, die typischste Eingabemöglichkeit ist ein Textfeld.

Listen

Listentypen erlauben es, verschiedene Fragen mit den jeweils selben Antwortmöglichkeiten zu versehen. Jede Frage wird seperat - auch vom Layout her - angezeigt.

Die Anpassung der Antwortmöglichkeiten erfolgt über Beschriftungsserts, LimeSurvey erlaubt eine Auswahl an verschiedenen Anzeigemöglichkeiten:

"!" - Liste Klappbox

Es können mit dem Frageattribut category_separator (dzt. nur englisch) innerhalb der Liste auch Unterkategorien erzeugt werden.

"5" - 5 (5 Punkte Auswahl)

L - Liste Optionsfelder

O - Liste mit Kommetarfeld

W - Liste (Flexible Beschriftung) Klappbox

Der Vorteil einer derartigen Liste ist die Möglichkeit der Wiederverwendung der Beschriftungen. Die 'gewöhnliche' Liste muss vom Fragebogengestalter mit definierten Antworten versehen werden, welche nur für diese eine Frage Gültigkeit besiutzen. Üblicherweise kann jedoch an ihrer Stelle eine Liste mit flexibler Beschriftung verwendet werde. Dies hat zur Folge, dass die Beschriftungssets wiederverwendet werden können. Nur im Falle einer offenen Option am Ende der Liste (z.B. "andere", "sonstige (bitte angeben)", ...) steht nur die Liste mit Kommentarfeld zur Verfügung.

Z - Liste (Flexible Beschriftung) Optiondfelder

Textfragen

Es gibt verschiedene Möglchkeiten eines Textfeldes in LimeSurvey. Jede der Varianten kann mit den Advanced question settings hinsichtlich der Zeichenanzahl und der Textfeldgröße beeinflusst werden.

Darüberhinaus kann Texteingabe mittels Using regular expressions validiert werden.

Q - Mehrfache kurze Texte

Dieser Fragetyp ist eine Variante des Fragetyps "Kurzer freier Text", der die Eingabe mehrerer Texte pro Frage ermöglicht. Zunächst wird die Frage definiert, danach können beliebig viele Textfelder durch die Angabe von "Antworten" erstellt werden. Diese Antworten werden als Beschriftung für die jeweilige Textbox verwendet.

K - Mehrfache numerische Eingabe

Alternativ kann ein Schieberegler verwendet werden:

S - Kurzer freier Text

In MySQL handelt es sich um ein Feld mit dem Typ "text" (Länge 65 536 Zeichen).

T - Langer freier Text

In MySQL handelt es sich um ein Feld mit dem Typ "text" (Länge 65 536 Zeichen).

U - Ausführlicher freier Text

In MySQL handelt es sich um ein Feld mit dem Typ "text" (Länge 65 536 Zeichen).

Fragen formatieren

Seit der Version 1.80 besteht die Möglichkeit für Gestaltung und Layout einer Frage CSS einzusetzen. Weiterführendes findet sich in Templates & Styles/The Template Editor -> Styling questions with CSS (dzt. nur englisch).

<translate>

This question type provides two scales of answer options for each subquestion. A heading can be set for each scale from the question display options:



You can also set a special question attribute to use this question type with dropdown boxes:



Example 1: Dual Scale Example.zip

Example 2: Dual Scale Dropdown Example.zip

</translate>

Find out more about the Array dual scale question type...

Array (Numbers)

<translate>

This question types allows survey administrators to a create large arrays with numbered dropdown boxes with a set of subquestions on the "y-axis", and another set of subquestions on the "x-axis".


You can also set a special question attribute to use this question type with checkboxes:



Example 1: Example_Array_Numbers

Example 2: Example_Array_Numbers_Checkboxes

</translate>

Find out more about the numbers Array question type...

Array (Text)

<translate>

The Array (Text) question type allows for an array of text boxes with a set of subquestions as the "y-axis", and another set of subquestions as the "x-axis".


Example: Array_Texts_Example_text.zip

</translate>

Find out more about the text Array question type...

Mask questions

Due to a lack of better word we define all questions where the input of answers is predefined as 'mask questions'.

Date

<translate>

This question type can be used to ask for a certain date, time or a combination of both date and time. The values can be selected by the participants either from a popup calendar or from dropdown boxes. Validation, minimum, and/or maximum dates can be chosen by the survey administrator. Various date and time formats are supported.

Example: Example_Date_Time.zip

</translate>

Find out more about the Date question type...

File upload

The file upload question type can be used to collect file(s) from a user in response to a question. For example, a company with employment opportunities could use this question type to request the candidate to submit/upload his or her updated CV, as well as any other scanned documents in the employment survey.


Example: File upload question type.zip

Find out more about the Date question type...

Gender

This question type collects gender information ("Male" or "Female") from the respondents.

Example: Gender question type.zip

The "No answer" option is displayed if the question is not mandatory.

You may also add a "No answer" choice if the question is not mandatory.

Find out more about the Gender question type...

Sprache

This question type allows the user to change the language of the survey. Users can choose from a dropdown list, the language in which they wish to have the survey questions displayed.

The dropdown list includes the base language (which is selected when the survey is created for the first time) and the additional ones (they can be edited from the general settings panel).

Example: Language switch question type

Find out more about the Language switch question type...

Numerical input

This question types asks the survey participant to enter a single number.



Example: Question_example_numerical_input.zip.

Find out more about the Numerical Input question type...

Multiple numerical input

This question type is a variation of the "Numerical input" question type. It allows multiple text boxes to be created, each of them allowing the survey respondents to enter only numbers. Each text box corresponds to an subquestion, the subquestion text being the label for the input.



Example: Multiple_numerical_input_question_type_example.zip

Find out more about the Multiple numerical input question type...

Ranking

This question type allows you to present your survey participants a list of possible answers/options, which they may then rank according to their preferences.



Example: Question type ranking.zip.

Find out more about the Ranking question type...

Text display

This question type does not collect any input from the respondent. It just simply displays text. It can be used to provide further instructions or a design break in the survey.

Please note that you can write in the text of this question also html or javascript. In this way, you can use this question for other purposes.



Example: Text_display_example.zip

Find out more about the Text display question type...

Yes/No

Survey administrators can collect "Yes" or "No" responses from the respondents with the help of this question type.



Example: Yes/No question type example.

Find out more about the Yes/No question type...

Equation

<translate>
 Hint: Unlike all other question types, if an equation is hidden, it is still computed, its value being stored in the database.


 Hint: Equation question type allow to assign a value to another Question. See how to use assignment Operator.


  No HTML tag can be saved in the database due to security concerns.


This question type lets the author create an equation (e.g., a calculation or tailored report) and save it in a database variable. Equations can use any syntax supported by ExpressionScript. If you are handling numeric values make sure that you use the advanced question setting "Numbers only" as explained below.

You may find below an example on how to use this question type:




Example: Limesurvey_survey_BMIsample.lss.zip.

</translate>

Find out more about the Equation question type...

Multiple choice questions

Sometimes you want the participan to mark more than one answer option in the same question; this is achieved using checkboxes.

Multiple choice

This question type can collect input of multiple selections through checkboxes.



Example: Multiple choice question type example.

Find out more about the Multiple choice question type...

Multiple choice with comments

This question type can collect input of multiple selections through checkboxes, while allowing the user to provide additional comments.


Example: Multiple choice with questions example.zip

Find out more about the Multiple choice with comments question type...

Single choice questions

Single choice questions are those where the participant can only pick a single predefined answer option.

5 point choice

This question shows a horizontal 1 to 5 scale from where the survey participants can select a single answer option.



Example: Single choice question example.zip

Find out more about the 5 point choice question type...

List (Dropdown)

This question type collects input from a dropdown list menu. You can also create subcategories within this list by making use of the "Category separator" attribute.



Example: List dropdown question.zip

Find out more about the List Dropdown question type...

List (Radio)

This question type collects input from a list of radio buttons.


Example: List_radio_example.zip

Find out more about the List Radio question type...

List with comment

This question type displays a list of radio buttons, while allowing the participants to provide a additional comment with their submission.


Example: List_with_comment_example.zip

Find out more about the List with comment question type...

Text questions

LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the Advanced question settings which permit to restrict the number of characters as well as the size of the field.

Furthermore text input can be validated by Using regular expressions.

Short free text

This question type collects a single line of text input.


Example: Short_free_text_question.zip

Find out more about the Short free text question type...

Long free text

<translate>

This question type collects multiple lines of text input.



Example: Long_free_text_example.zip

</translate>

Find out more about the Long free text question type...

Huge free text

<translate>

This question type collect multiple lines of text input, allowing more text to be typed in.



Example: Huge_free_text_example.zip

</translate>

Find out more about the Huge free text question type...

Multiple short text

<translate>

This question type is a variation on the "Short Text" question type which allows more than one text entry per question. The user first defines the question and can then add additional text boxes by adding 'Answers'. Each answer becomes the label of the new text box.



Example: Multiple_short_text_example.zip

</translate>

Find out more about the Multiple short text question type...