Actions

Fragetyp - Kurzer Freitext

From LimeSurvey Manual

Revision as of 09:44, 16 November 2018 by C schmitz (talk | contribs) (Created page with "{{QS:Random_group/de}}")

Kurzbeschreibung

Dieser Fragetyp erfasst eine einzelne Texteingabezeile.


Example: Short_free_text_question.zip


Anmerkung: In der MySQL-Datenbank kann die maximale Anzahl an Zeichen unbegrenzt sein. In Postgres und MSSQL können maximal 255 Zeichen eingegeben werden.

Allgemeine Optionen

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).

Wenn Sie eines der vorinstallierten Designvorlagen verwenden und Pflichtangabe aktiviert ist, wird neben der Frage ein rotes Sternchen angezeigt. Wenn Sie dieses ausblenden möchten, schauen Sie bitte in unsere FAQ.


Verfügbare Optionen:

  • An – Die Frage muss beantwortet werden, bevor der Teilnehmer zur nächsten Seite gehen kann – die Antwortoption „Keine Antwort“ wird nie angezeigt.
  • Weich – Wenn die Frage nicht beantwortet wird, wird eine Warnung angezeigt, wenn versucht wird, zur nächsten Seite zu gelangen – der Teilnehmer kann die Warnung jedoch ignorieren und fortfahren. Beachten Sie, dass die Option „Keine Antwort“ weiterhin angezeigt wird (falls in den Einstellungen der Umfragepräsentation aktiviert)
  • Aus (Standard) – Frage kann unbeantwortet bleiben


Wenn die Karte als Google-Karte aktiviert ist und die Frage auf Pflichtfrage gesetzt ist, muss der Benutzer der Umfrage den roten Punkt verschieben oder im Textfeld den Längen-/Breitengrade eingeben. Der Benutzer kann sich nicht nur auf die Standardeinstellung verlassen und die Schaltfläche "Weiter" klicken. Es wird empfohlen, dass Sie dies im Inhalt des Fragetextes angeben.


Bedingung (früher „Relevanzgleichung“)

Beschreibung:

Ist der Ergebniswert der Bedingung „1“ oder „wahr“, ist die Frage im Umfragekontext „relevant“, wird also dem Umfrageteilnehmer angezeigt. Wenn nicht, wird die Frage ausgeblendet. Für jede Umfragefrage können Sie eine Relevanzgleichung angeben. Diese Funktion ist der Nachfolger von conditions und unterstützt eine wesentlich komplexere bedingte Logik.

Syntax-Hervorhebung:

Wenn Sie die Bedingung speichern, wird sie ausgewertet und syntaktisch hervorgehoben. Eventuelle Fehler werden farblich gekennzeichnet, sodass Sie sie schnell erkennen und beheben können.

 Hint: Um zu überprüfen, ob alle Bedingungen in Ihrer Umfrage korrekt verwendet werden, lesen Sie mehr über unsere Funktion Logikdatei anzeigen.


Gültige Werte:

  • Jede Bedingung, die die Syntax ExpressionScript ohne umgebende geschweifte Klammern verwendet.

Beispiel

Hier finden Sie Beispiele für die Syntax-Hervorhebung (derzeit nur auf Englisch).



Validierung (mit regulären Ausdrücken) (preg_validation)

Beschreibung

Mit dieser Option können Sie einen regulären Ausdruck angeben, mit dem Sie alle Teile einer Frage validieren können.

Wenn eine Frage oder ein Unterfragewert die Validierungsanforderungen nicht erfüllt, wird die Hintergrundfarbe des Texteingabefelds in Rot geändert, damit Benutzer leicht erkennen können, welche Teile der Frage korrigiert werden müssen. Somit können Sie eine On-Page-Validierung durchführen. Auf diese Weise müssen Sie nicht darauf warten, dass der Benutzer auf die Schaltfläche „Senden“ klickt, um die entsprechende Frage zu bestätigen.

Gültige Werte

  • Jeder gültige reguläre Ausdruck

Beispiel



Anzeige

Präfix (Präfix)

Beschreibung

Ein Textwert, der als Präfix vor den Texteingabefeldern angezeigt wird. Das Präfix wird direkt links neben der Eingabe angezeigt.

Wenn der Bildschirm klein ist, wird das Präfix über der Eingabe angezeigt. Wenn Sie es links belassen möchten (New in 3.0.0 ): Fügen Sie der Frage die Klasse suffix-prefix-force hinzu.

Gültige Werte

  • Alle Zeichen oder Zeichensätze, die vor der Eingabe angezeigt werden sollen

Beispiel

Wenn Sie für dieses Attribut den Wert „$“ eingeben, wird unmittelbar vor dem Texteingabefeld ein Dollarzeichen angezeigt.



Suffix (Suffix)

Beschreibung

Ein Textwert, der an ein Texteingabefeld angehängt werden soll. Das Suffix wird direkt rechts neben der Eingabe angezeigt.

Auf dem kleinen Bildschirm wird unter der Eingabe das Sufix angezeigt. Wenn Sie es bei right (New in 3.0.0 ) belassen möchten: Fügen Sie der Frage die Klasse suffix-prefix-force hinzu.

Gültige Werte

  • Alle Zeichen oder Zeichensätze, die nach der Eingabe angezeigt werden sollen

Beispiel

Die Eingabe eines Werts von „%“ für dieses Attribut würde dazu führen, dass unmittelbar nach dem Texteingabefeld ein Prozentzeichen angezeigt wird.



Anzahl Zeilen (display_rows)

Beschreibung

Es legt die Anzahl der angezeigten Zeilen fest, ohne die Bildlaufleiste zur Überprüfung des gesamten Inhalts zu verwenden. Wenn mehr Zeilen vorhanden sind als in diesem Feld angegeben, wird eine Bildlaufleiste angezeigt. Der Standardwert für den Fragetyp „Langer Freitext“ ist 5, während für den Fragetyp „Riesiger Freitext“ 30 beträgt.

Gültige Werte

  • Jede positive ganze Zahl größer 0



Hinweis verstecken

Beschreibung

Die meisten Fragen zeigen in der Regel einen Hinweis, wie „Bitte wählen Sie eine der folgenden Optionen“ oder einen ähnlichen Hinweistext, wie man die Frage ausfüllen soll. Mit dieser Einstellung können Sie diese Tipps/Hinweise ausschalten.

Diese Tipps/Hinweise enthalten Meldungen zu Validierungskriterien (wie z.B. min/max Anzahl der Antworten, min/max/gleicher Summenwert). Wenn die Einstellung aktiviert ist, werden diese Meldungen ausgeblendet. Wenn der Benutzer jedoch ungültige Daten eingibt, erscheinen die Tipps. Sie werden rot eingefärbt und auf grün geändert, sobald die Validierungskriterien erfüllt sind.

Verfügbare Optionen

  • An - Tipps/Hinweise werden versteckt
  • Aus (Standard).



Breite Eingabefeld (text_input_width)

Beschreibung

Dieses Attribut legt die Breite der Texteingabefelder fest (des "Wrappers" der Texteingabefelder). Das Eingabefeld wird verwendet, um eine Antwort auf die (Teile-) Frage einzugeben. Wenn der Wert der Breite ausreichend hoch ist, wird das Texteingabefeld in der nächsten Zeile angezeigt. Bitte beachten Sie, dass diese Option nicht die Größe der Eingabe oder die Breite der gesamten Spalte festlegt!

Verfügbare Optionen

  • Standard: Wenn diese Option ausgewählt ist, wird diesem Attribut ein Standardwert zugewiesen, sodass sowohl die Beschriftung als auch das entsprechende Texteingabefeld in derselben Zeile stehen. Wenn die Breite des Texteingabefelds beispielsweise 41% beträgt, ist der Wert der Breite des Texteingabefelds ein Wert, der sowohl die Beschriftung als auch das Eingabefeld in derselben Zeile zulässt (in diesem Fall 58%). Wenn die Breite des Texteingabefelds höher als 58% ist, wird das Texteingabefeld in der nächsten Zeile angezeigt
  • 8%; 17 %...92% , 100%: Je größer der ausgewählte Wert ist, desto breiter ist das Texteingabefeld.

Beispiel

  • Wenn das Eingabeelement unter der Unterfrage / Beschriftung angezeigt werden soll, wählen Sie die Option 100% aus der Dropdown-Liste.



Größe des Texteingabefelds (input_box_size)

 Hint: This features is available starting in version 3.0.0


Beschreibung

Mit dieser Funktion können Sie die Größe des Textbereichs (des Texteingabefelds) festlegen. Standardmäßig erzwingt LimeSurvey, dass das Eingabefeld mit einer Standardgröße angezeigt wird. Dies kann mit dieser Funktion überschrieben werden.

Um die Box in die nächste Zeile zu verschieben, müssen Sie den Wrapper vergrößern. Erhöhen Sie dazu den Wert des text input width attribute.

'Gültige Werte

  • Beliebiger numerischer Wert


Fragen-Designvorlage (question_theme)

Beschreibung

Sie können benutzerdefinierte Designvorlagen für die jeweilige Frage verwenden.

Verfügbare Optionen

  • Ihre erstellten Fragethemen, die sich unter den Fragenthemen im Bereich Designvorlagen befinden.

Siehe: https://manual.limesurvey.org/Question_themes

Hinweis: Diese Funktion befindet sich derzeit in der Entwicklung.


Diese Frage immer verstecken (hidden)

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.
'Hinweis:' Ein häufiger Fragetyp, der mit dieser Funktion verwendet wird, ist der Fragetyp Gleichung.

Verfügbare Optionen

  • Ein
  • Aus (Standard)


CSS-Klasse (css_class)

'Beschreibung

Wenn Sie bestimmten Fragen spezielle CSS-Klassen hinzufügen möchten, können Sie die Namen der CSS-Klassen in dieses Feld eingeben. Stellen Sie sicher, dass zwischen verschiedenen Klassennamen ein Leerzeichen steht.

Gültige Werte

  • Beliebige Textzeichenfolge mit einem Leerzeichen zwischen verschiedenen CSS-Klassennamen.
 Hint: Sie können auch ein Ausdruck in dieses Feld einfügen (New in 3.0.0 ). Denken Sie daran, dass die Ausgabe des Ausdrucks nicht dynamisch aktualisiert wird.


  Laut W3C dürfen CSS-Klassennamen nur die Zeichen [a-zA-Z und 0-9] und ISO 10646 Zeichen U + 00A1 und höher sowie Bindestrich (-) und Unterstrich (_) enthalten. Sie können nicht mit einer Ziffer oder einem Bindestrich gefolgt von einer Ziffer beginnen. LimeSurvey codiert CSS-Klassen, behebt dies jedoch nicht vollständig.


Eingabe

Maximale Zeichenzahl (maximum_chars)

Beschreibung

Dadurch können Sie die maximale Anzahl an Zeichen festlegen, die für eine textbasierte Frage eingegeben werden können. Die Eingabe eines Wertes von beispielsweise 20 bedeutet, dass der Teilnehmer nicht mehr als 20 Zeichen eingeben kann.

'Gültige Werte

  • Jeder ganzzahlige Wert über 0


Standort

Mit dem folgenden Optionen können Sie "Karten" -Fragen erstellen, in denen die Umfrageteilnehmer aufgefordert werden, einen bestimmten Ort auf einer Openstreet / Google-Karte zu bestimmen. Darüber hinaus kann eine Reihe von Daten in der Datenbank gespeichert werden, z. B. Postleitzahl, Land, Region und Stadt. Standardkoordinaten können ebenfalls angegeben werden.



Mapping-Dienst verwenden (location_mapservice)

Beschreibung

Wenn diese Option aktiviert ist, zeigt der Fratgetyp Kurzer freier Text eine Karte und kein Textfeld an (sie können nicht beides gleichzeitig verwenden).

Verfügbare Optionen

  • Aus (Standard)
  • OpenStreetMap über MapQuest!
  • Google Maps


  Google Maps benötigt einen gültigen Google Map-API-Schlüssel!



Wenn die Option Google Maps ausgewählt ist und die Frage auf Pflichtfrage gesetzt ist, muss der Befragte den roten Punkt verschieben oder die geografischen Daten in das Breiten-/Längengrad-Textfeld eingeben. Der Benutzer kann sich nicht auf den Standardwert verlassen und auf die Schaltfläche "Weiter" klicken. Es wird dringend empfohlen, die Benutzer zuvor im Fragetext darüber zu informieren.


Erweitert


OpenStreetMap via MapQuest verwendet GeoNames für das Suchfeld (mit einem für LimeSurvey erstellten Benutzer). Wenn Sie sicher sein müssen, dass Ihr Zugriff nicht eingeschränkt wurde oder wenn Sie die GeoNames-API häufig verwenden, verwenden Sie am besten GeoNames Webservices und richten Sie es in Ihrer Datei config.php ein.




IP als Standardstandort (location_nodefaultfromip)

Beschreibung

Wenn diese Option aktiviert ist, sollte die Standardposition auf der Karte auf der IP-Adresse des Benutzers basieren.

Damit dies funktioniert, müssen Sie einen gültigen Schlüssel in IP Info DB API Key festlegen.

'Verfügbare Optionen

  • Ja (Standard)
  • Nein



Postleitzahl speichern (location_postal)

Beschreibung

Aktivieren Sie diese Option, wenn Sie möchten, dass die Postleitzahl in der Tabelle mit den Umfrageergebnissen gespeichert wird. Nur mit Google Map und einem gültigen [Global_settings#General|Google Map API-Schlüssel] nutzbar.

'Verfügbare Optionen

  • Ja
  • Nein



Stadt speichern (location_city)

Beschreibung

Wenn aktiviert, werden die Stadtinformationen in der Tabelle der Umfrageergebnisse gespeichert. Nur nutzbar mit Google Maps und einem gültigen Google Maps API-Schlüssel.

'Verfügbare Optionen

  • Ja
  • Nein (Standard)



Status speichern (location_state)

Beschreibung

Wenn aktiviert, werden die Statusinformationen in der Umfrageergebnistabelle gespeichert. Nur nutzbar mit Google Maps und einem gültigen Google Maps API-Schlüssel.

'Verfügbare Optionen

  • Nein (Standard)
  • Ja



Land speichern (location_country)

Beschreibung

Wenn diese Option aktiviert ist, werden die Länderinformationen in der Tabelle mit den Umfrageergebnissen gespeichert. Nur mit Google Map und einem gültigen [Global_settings#General|Google Map API-Schlüssel] nutzbar.

'Verfügbare Optionen

  • Ja
  • Nein (Standard)



Zoomstufe (location_mapzoom)

Mit dieser Option kann der Umfrageadministrator die Zoomstufe für die Karte festlegen.

Gültige Werte

  • Der minimale Wert, der eingefügt werden kann, ist 0, während der maximale Wert 11 ist.

Beispiel

Das folgende Bild zeigt eine 500x300-Karte mit Zoomstufe = 5:

Datei:map_zoom_level.png



Standardposition (location_defaultcoordinates)

Beschreibung

Geben Sie hier den Breiten- und Längengrad ein, auf dem die Karte beim Laden zentriert werden soll.

Beispiel

Breitengrad [Leerzeichen] Längengrad: 52.1605 9.8438



Kartenbreite (location_mapwidth)

Legen Sie in diesem Feld die Breite der Karte in Pixel fest. Der Standardwert ist 500px.



Kartenhöhe (location_mapheight)

Stellen Sie in diesem Feld die Höhe der Karte in Pixel ein. Der Standardwert ist 300.


Logik

Randomisierungsgruppenname (random_group)

Beschreibung

Dabei werden die Fragen in eine bestimmte Zufallsgruppe eingeteilt, wobei den Umfrageteilnehmern alle in der angegebenen Gruppe enthaltenen Fragen in zufälliger Reihenfolge angezeigt werden.

Eine Beispielumfrage mit dem Namen der Randomisierungsgruppe finden Sie in ExpressionScript-Beispielumfrage.

Gültige Werte

Geben Sie einfach eine beliebige Zeichenfolge ein (zum Beispiel: „Gruppe1“). Alle Fragen, die im Feld „Randomisierungsgruppenname“ die gleiche Zeichenfolge festgelegt haben, erhalten ihren Platz in der Umfrage randomisiert (=zufällig untereinander ausgetauscht).


Vorschau Um eine Vorschau der Fragen anzuzeigen, verwenden Sie die Funktion „Umfragevorschau“ anstelle der Funktion „Fragengruppenvorschau“, da bei der zweiten Funktion Berichten zufolge die Fragen nicht in zufälliger Reihenfolge angezeigt werden.



Question validation equation (em_validation_q)

Description

This is an equation that is used to validate the entire question (e.g, all of its parts collectively for a multi-answer question). If the question fails the validation criteria, then em_validation_q_tip message will be displayed (it uses the CSS style .error). This tip uses the .em_q_fn_validation CSS style, which is hidden by default within template.css.

The main difference between this feature and the subquestion validation equations (em_validation_sq option) is that for this feature, if the question (or question parts) fail validation, then an error message could be shown. For the subquestion validation, each text entry cell (e.g., in an array question type, but it can also be applied to single entry question types) will be styled so that the background color is (light) red.

Valid values

  • Any equation that makes use of the ExpressionScript syntax, without surrounding curly braces.

Example

  • You want to collect demographic information from users via a multiple short text question, and you want to validate that the user has entered a valid email address and phone number.

This example shows how the question looks with invalid answers:

And here is what it looks like with one invalid answer:

Here is how you edit a question to enter that information:

And here is part of the Show Logic File output that lets you check the accuracy of your expression and ensure that there are no syntax errors:

As you can see, the validation equation tests that both the email and phone number are either empty or match a regular expression filter.

The validation tip only shows the warning message if the phone or email appears invalid.

 Hint: In order to create complex validation messages, read about the usage of the ExpressionScript.


If you wish to import the example from above into your LimeSurvey installation, download the following .lsq file: Em_validation_q_example.zip.

 Hint: Remember, LimeSuvey uses the Perl syntax for regular expressions, so they should start and end with / (slash character)!



Tip for whole question validation equation (em_validation_q_tip)

Description

If you are using the question validation equation, you can use this box in order to display an optional message as question tip on how the question has to be filled out.

Valid values

Example

See the example from the question validation equation wiki section- it shows how the tip can be tailored to show which parts of a multiple short text question fail the validation criteria.



Sub-question validation equation (em_validation_sq)

Description

This is an equation that is used to validate each subquestion (text field) individually. Any text field that does not pass these validation conditions will have its background color turned pink (using the .em_sq_fn_validation CSS style) to highlight the error. Note that this is available in addition to the regular expression-based validation option.

Valid values

Any equation that makes use of the ExpressionScript syntax, without surrounding curly braces.

Examples

For example, if you want to allow only numbers that are a multiple of 3 as answers, the equation would be:

(this / 3) == floor(this/3)

The reserved variable this is automatically replaced by a reference to the active text entry cell.



Tip for sub-question validation equation (em_validation_sq_tip)

Description

If you are using em_validation_sq, this is an optional message/tip that will be displayed if the introduced answer is incorrect.

Valid values

  • Any string

Example

  • Continuing the example of validating emails, the tip might be "Please enter valid email addresses."


Other

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)


Numbers only (numbers_only)

Description

If you enable this option, the participant can only enter numbers in the text box(es).

For the equation question types, this setting indicates that the result could only be a number, not a string. This will guarantee proper calculations/conversions in follow-up equations regarding the decimal mark.

Behavior by question type

  1. Default: If the subject enters a value that is not a number, that value is immediately cleared from the text box so that the subject can enter an appropriate value.
  2. Array (Texts): If the numbers only option is disabled, the "Show totals for" and "Show grand total" options will be overruled, while the total text boxes will not be displayed.
  3. Equation: Enabling this option will force the equation results to be converted to a numeric value. If the equation result is not a number (and not blank), the equation will return NaN, being saved as an empty string in the response table.

Available options

  • On
  • Off (default)


Statistics

Display map (display_map)

Description

Enable the following option if you wish to have the addresses/locations marked on a map in the statistics page.

Available options

  • On (default)
  • Off



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.

Note: To have the chart displayed on the last page, you have to enable the following options:


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.

Note: Do not forget to change the question and survey settings in order to have the charts displayed at the end on the survey. For more details, check the wiki section on the display chart question attribute.

Available options

  • Bar chart
  • Pie chart
  • Radar
  • Line
  • PolarArea
  • Doughnut


Timer

Time limit (time_limit)

Description

Setting the time_limit attribute on a question will cause a countdown timer to begin counting down as soon as that question/page is loaded. At the expiry of the countdown timer the question will either automatically move on to the next page or become read-only.

Valid values

  • Any positive integer number

Example

Set it to 240 to count down from 4 minutes (240 seconds).


<translate>

<onlyinclude>

Time limit action (time_limit_action)

Description


Sets the action performed when a time_limit has expired. By default the action for a time limit is "Warn and move on", which means the system will give a short warning that the time limit has expired before saving the question and effectively automatically clicking "Next >>". The alternative choices are to:

  • "Move on without warning", which automatically clicks the "Next >>" button after the timer is finished but without any warning message.
  • "Disable only", which disables changes in the question so the participant can't change anything, but doesn't automatically click the "Next >>" button.

This setting is only applicable if the general time limit setting is activated.

Available options

  • Warn and move on (default): will warn the participant that the time has expired, and then click the next button
  • Move on without warning: will immediately click the next button after the time limit has expired
  • Disable only: will disable the answer after the time limit has expired but not automatically click next


Additional information


  Attention : If the question is mandatory, or a question in the group is mandatory, a JavaScript loop will be created if the mandatory question(s) is/are not answered. As a result, an error will be displayed on the screen that certain questions have not be filled in, which in turn will trigger the refresh of the page.
Instead of relying on mandatory questions, you may use expressions (read more about question and subquestion validation equations) to make the user not leave empty the answer fields. To see how the validation equations work, check the following example.



In the case in which you want to apply a timer to a question group, activate the group-by-group survey mode, set up a question to use the time limit functionality, and choose the warn and move on (default) option as time limit action. Once the question timer expires, the survey will move to the next page.

</translate>


Time limit disable next (time_limit_disable_next)

Description

It allows disabling the "next" button while a time_limit countdown is occurring. Normally, even if the time limit countdown is active, if the participant wants to click "Next" and move on to the next question or question group, they can simply click on the "Next" button (thus cutting short the time spent on the question or question group). By activating this function, the next button will appear greyed out and will not be available until the countdown timer has finished.

This settings is only applicable if the general time limit setting is activated.

Available options

  • On - The "Next" button will be disabled until the time limit countdown is complete.
  • Off (default)
Note: If your survey uses the group by group format, this function applies to the whole group this question belongs to.



Time limit disable prev (time_limit_disable_prev)

Description

It allows disabling the "previous" button while a time_limit countdown is occurring. Normally, even if a time limit countdown is active, if the participant wants to click on "Previous" and move to the previous question or question group, they can simply click on the "Previous" button (thus cutting short the time spent on the question or question group). By activating this function, the previous button will appear greyed out and will not be available until the countdown timer has finished.

This settings is only applicable if the general time limit setting is activated.

Available options

  • On - the "Previous" button will be disabled until the time limit countdown is complete.
  • Off (default)
Note: If your survey uses the group by group format, this function applies to the whole group this question belongs to.



Time limit countdown message (time_limit_countdown_message)

Description

Write in this field the text message you wish to be displayed in the countdown timer during the countdown. This setting is applicable only if the general time limit setting is activated. If nothing is written, the the field will use the default value: "Time remaining".



Time limit timer CSS style (time_limit_timer_style)

Description

It allows (and overrides the default) css styling used to display the countdown timer. The default style value for this attribute will be used if it does not exist, which is: 'width: 150px; margin-left: auto; margin-right: auto; border: 1px solid #111; text-align: center; background-color: #EEE; margin-bottom: 5px; font-size: 8pt;'.

Any text entered into this attribute will overwrite the entire default css style, so you should ensure that care is taken when entering a value for this attribute. A simple way to hide this is to copy the default style into this attribute and add 'display: none;' to the end.

This settings is only applicable if the general time limit setting is activated.



Time limit expiry message display time (time_limit_message_delay)

Description

This attribute sets how many seconds the time_limit_message is displayed before the time_limit_action occurs. If this attribute is not set, it defaults to a value of 1 (1 second).

This settings is only applicable if the general time limit settings is activated.

Example

time_limit_message_delay: 5 = the message displays for 5 seconds



Time limit expiry message (time_limit_message)

Description

This is the text of the message that appears to the participant when the time_limit has expired. By default, this message is "Your time to answer this question has expired". If the time_limit_action attribute is set to "Move on without warning" this message is not displayed. You can set the CSS style for this text in the time_limit_message_style attribute (see below).

This settings is only applicable if the general time limit settings is activated.

Example

time_limit_message: The time limit on answering this question is now up.



Time limit message CSS style (time_limit_message_style)

Description

It allows (and overrides the default) css styling used to display the time limit message. The default style value for this attribute will be used if it does not exist, which is: 'top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: white; z-index: 1002; text-align: center; overflow: auto'.

Any text entered into this attribute will overwrite the entire default css style, so you should ensure that care is taken when entering a value for this attribute. It is strongly recommended that you re-use the z-index value, or that, at least, the z-index value is higher than that used for the time_limit_warning_message_style attribute (which defaults to 1001).

Example

Set to: top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: black; color: white; z-index: 1010; text-align: center; overflow: auto



Time limit warning message timer (time_limit_warning)

Description

With the help of this attribute, you can set the time (in seconds) when the time_limit_warning_message will be displayed before the time limit expires. Setting a value for this attribute activates the time limit warning message.

This settings is only applicable if the general time limit settings is activated. This setting also exists for a second warning message.

Example

If you set this to '20', then the time limit warning message will appear 20 seconds before the time limit countdown reaches zero.



Time limit warning message display time (time_limit_warning_display_time)

Description

It sets for how long the time_limit_warning_message is displayed before it is removed/hidden from the screen. By default, if the time_limit_warning_message appears, it will remain visible until the countdown timer has completed the countdown. If a value greater than zero is introduced in this field, the message will be hidden after that many seconds.

This setting is applicable only if the general time limit setting is activated. This setting also exists for a second warning message.

Example

time_limit_warning_display_time: 10 = The time limit warning message will disappear 10 seconds after its moment of appearance.



Time limit warning message (time_limit_warning_message)

Description

If set up, it displays the text of the warning message which is displayed for a fixed period of time before a time limit expires. The default text is "Your time to answer this question has nearly expired. You have {TIME} remaining." {TIME} is replaced by a formatted description which represents the amount of time left (i.e. "30 seconds", "1 minute or 5 seconds"). This message only appears if the time_limit_warning attribute exists. You can set from the time_limit_warning attribute when the message (time_limit_warning_message) appears.

This question attribute is only applicable if the time limit setting is activated and you set some text in the time limit warning message field. This setting also exists for a second warning message.

Example

Attention: In {TIME} the time limit to answer question will expire.



Time limit warning CSS style (time_limit_warning_style)

Description

It allows (and overrides the default) css styling used to display the time limit warning message. The default style value for this attribute will be used if it does not exist, which is: 'top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: white; z-index: 1001; text-align: center; overflow: auto'.

Any text entered into this attribute will overwrite the entire default css style for the warning message, so you should ensure that care is taken when entering a value for this attribute. It is strongly recommended that you re-use the z-index value, or that, at least, the z-index value be lower than that used for the time_limit_message_style attribute (which defaults to 1002).

This settings is only applicable if the general time limit setting is activated. This setting also exists for a second warning message.

Example

top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: gray; color: white; z-index: 1001; text-align: center; overflow: auto