Fragetyp: Gleichung
From LimeSurvey Manual
Kurzbeschreibung
Dieser Frage-Typ lässt sich eine Formel erstellen (z.B. eine Berechnung oder ein Ergebnis). Das Resultat wird in der Datenbank gespeichert. Bei den Formeln ist die Syntax des 'Expression Manager' zulässig. Wenn Sie für die Formeln numerische Werte (Zahlen) verwenden, achten Sie darauf, dass bei den entsprechenden Fragen unter 'Zeige erweiterte Einstellungen' die Auswahl 'nur Zahlen' aktiviert ist.
You may find below an example on how to use this question type:


Example: Limesurvey_survey_BMIsample.lss.zip.
Bearbeitung einer Formel
Using dedicated setting
The best way to edit equation is to use dedicated setting : this allow using same equation for different languages, and to be sure than no HTML is integrated in equation. This allow you to show a complete sentence to user but save only the needed value in database : for example put {weightkg/tall} in equation setting and show “Your BMI is {self.NAOK}”.
If you need Expression inside : you have to add the curly brace.
Using Question text
You can do edits via the HTML/WYSIWYG editor or from the HTML source:
- Using the WYSIWYG editor:

- From the HTML source:

The edits in the source code are recommended when you wish to record in your response table a clean text or a clean numeric value. By editing the source, you can remove/delete any HTML code that can affect the storing process.


Basis-Einstellungen
Pflichtangabe
Beschreibung:
Mit dieser Option wird festgelegt, ob eine bestimmte Frage von Umfrageteilnehmern zum Fortfahren beantwortet werden muss. Müssen nur bestimmte Unterfragen beantwortet werden, verwenden Sie das Attribut minimale Antwort in der Registerkarte Logik (nur bei Matrix- oder Mehrfachauswahlfragen).

Verfügbare Optionen:
- An
- Aus (Standardwert)
Relevanz-Gleichung
Beschreibung:
Ist das Ergebnis einer Relevanz-Gleichung 1 oder wahr, ist die Frage im Umfragekontext relevant. Dies bedeutet, dass Sie den Umfrageteilnehmern angezeigt ist. Eine Relevanz-Gleichung kann für jede Frage einer Umfrage angegeben werden.
Syntax-Hervorhebung:
Wenn Sie die Relevanz-Gleichung speichern, wird sie ausgewertet und die Syntax hervorgehoben. Fehler werden farblich gekennzeichnet, damit Sie sie schnell erkennen und beheben können.
Gültige Werte:
- Jede Gleichung, die ExpressionScript verwendet, ohne die geschweiften Klammern.
Beispiel
Hier finden Sie Beispiele für die Syntax-Hervorhebung (derzeit nur auf Englisch).
Display
Beschreibung
Wenn diese Option aktiviert ist, wird die Frage immer ausgeblendet und den Umfrageteilnehmern nicht angezeigt. Diese Funktion kann in folgenden Szenarien verwendet werden:
- Wenn Sie eine Frage mit einer URL vorfüllen möchten und diese nicht auf dem Bildschirm angezeigt werden soll. Dies überschreibt alle in der Umfrage verwendeten Bedingungen, da die jeweilige Frage nicht einmal in die Seite eingebettet wird.
- Wenn Sie einen Wert im laufenden Betrieb über das Expressionscript speichern oder berechnen möchten.

Verfügbare Optionen
- Ein
- Aus (Standard)
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.

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
Equation (equation)
Description
The result of the expression you type here will be stored in the response table and NOT the result(s) of the expressions typed in the question textbox. For example, you may want to display several expressions in the question textbox to display the respondents some statistics about herself. However, if you wish to store something different at the same time, then type the desired expression in this field.
This equation is used for all language.
Valid values
- Any text. The Expression Manager syntax can also be used (with surrounding curly braces).
Other
Einfügen eines Seitenumbruchs in der Druckansicht
Beschreibung
Dieses Attribut ist nur aktiv, wenn Sie tatsächlich eine Umfrage aus der druckbaren Ansicht drucken. Es erzwingt einen Seitenumbruch vor der Frage.
Verfügbare Optionen
- An
- Aus (Standardwert)
SPSS Export Skalentyp (scale_export)
Beschreibung
Wird nur für den SPSS Export benutzt. Dieses Attribut überschreibt die von SPSS erwartete Überschrift. Um zu erfahren, wozu die verschiedenen Überschriften verwendet werden, lesen Sie bitte die entsprechende SPSS-Dokumentation.
Verfügbare Optionen
- Voreinstellung (Standard)
- Nominal
- Ordinal
- Skala
Statistics
Zeige in öffentlicher Statistik (public_statistics)
Beschreibung
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)
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.

- public statistics survey setting from the presentation & navigation settings
- show graphs survey setting from the presentation & navigation settings
- public statistics question attribute, and
- display chart question attribute.
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.

Available options
- Bar chart
- Pie chart
- Radar
- Line
- PolarArea
- Doughnut