Actions

Question type - Text display/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "{{QS:time_limit/nl}}")
(Created page with "{{QS:time_limit_action/nl}}")
Line 28: Line 28:
{{QS:time_limit/nl}}
{{QS:time_limit/nl}}


{{QS:time_limit_action}}
{{QS:time_limit_action/nl}}


{{QS:time_limit_disable_next}}
{{QS:time_limit_disable_next}}

Revision as of 20:13, 28 August 2013

Korte beschrijving

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

Omdat de tekst van deze vraag HTML code of JavaScript code kan bevatten, kan je dit ook voor andere doelen gebruiken.


Hoofd instellingen

Conditie (eerder "Relevantievergelijking")

Beschrijving

Als de waarde van de conditie 1 of true is dan is de vraag relevant en wordt de vraag getoond bij het invullen van de enquête. En anders niet. Bij elke vraag kun je een relevantievergelijking specificeren. Dit vervangt de condities, het ondersteunt veel meer complexe logica.

Syntax markering in kleur

Wanneer je de conditie opslaat, dan wordt het geëvalueerd en met kleur gemarkeerd. De fouten worden met een kleur aangegeven waardoor je de fouten gemakkelijker ziet,

 Hint: Om de condities in je enquête te controleren gebruik je de functie toon logica enquête.


Geldige waarden

  • Een conditie gebruikt de syntax die beschreven is in ExpressionScript, zonder de omringende accolades.

Voorbeelden

Voorbeelden van het met kleur markeren, oftewel syntax markering.


Speciale instellingen

Randomisatiegroepsnaam (random_group)

Beschrijving

Plaatst de vragen in een randomisatiegroep waardoor de vragen in een willekeurige volgorde getoond worden aan de deelnemers.

Een voorbeeld van een enquête met deze functie staat hier.

Geldige waarden

Geef een tekst op (bijvoorbeeld: 'groep1'). Alle vragen die deze tekst bij dit veld hebben krijgen onderling een willekeurige plaats.


Preview Als je een voorbeeld van de vragen wilt bekijken, gebruik dan het voorvertonen van de enquête in plaats van die van de vragengroep, omdat van de tweede is gemeld dat deze de vragen niet in een willekeurige volgorde zou weergeven.


Deze vraag altijd verbergen (hidden)

Beschrijving

Indien ingeschakeld wordt de vraag altijd verborgen voor de deelnemers aan de enquête. Je kunt dit gebruiken als:

  • je met een URL een vraag al ingevuld toont, dan kun je met deze instelling voor zorgen dat de vraag helemaal niet getoond wordt aan de deelnemer. Deze instelling gaat voor wat met condities is ingesteld, de vraag wordt helemaal niet opgenomen op de pagina.
  • je een even snel een waarde wilt bepalen of opslaan met ExpressionScript.
NB: Deze functie wordt vaak gebruikt bij het vraagtype vergelijking.

Beschikbare opties

  • Aan
  • Uit (standaard)


Forceer nieuwe pagina (page_break)

Beschrijving

Dit attribuut is alleen actief als je een enquête gaat afdrukken. Je kunt een nieuwe pagina forceren voor de vraag.

Beschikbare opties

  • Aan
  • Uit (standaard)


Tijdslimiet (time_limit)

Beschrijving

Als je dit attribuut gebruikt dan krijg je een teller die terug telt nadat de vraag/pagina geladen is. Bij het aflopen wordt of de vraag verplaatst naar de volgende pagina of wordt het een alleen-lezen vraag.

Geldige waarden

  • Elk positief geheel getal

Voorbeeld

Zet het op 240 om 4 minuten terug te tellen (240 seconden)


<onlyinclude>

Tijdslimiet actie (time_limit_action)

Beschrijving


Bepaald welke actie er ondernomen wordt bij het verlopen van de tijdslimiet. Standaard is het "Waarschuwen en doorgaan", dit betekent dat er een waarschuwing wordt gegeven dat de tijdslimiet is verlopen, de vraag wordt opgeslagen en er wordt automatisch op de knop "Volgende >>" gedrukt. De andere keuzes zijn:

  • "Doorgaan zonder waarschuwen", dus geen waarschuwing tonen maar doen alsof er op de vervolg-knop gedrukt is.
  • "Alleen uitschakelen", de deelnemer kan de vraag niet meer invullen, maar er wordt niet automatisch op de vervolg-knop gedrukt.

Deze instelling is alleen van toepassing als de algemene tijdslimiet instelling geactiveerd is.

Beschikbare opties

  • Waarschuwen en doorgaan (standaard)
  • Doorgaan zonder waarschuwen
  • Alleen uitschakelen


Aanvullende informatie


  Attentie : Als de vraag verplicht is, of als een vraag in de groep verplicht is, wordt een loop in JavaScript gemaakt als de verplichte vraag (vragen) niet wordt / worden beantwoord. Als resultaat zal op het scherm worden weergegeven dat bepaalde vragen niet zijn ingevuld, wat op zijn beurt zal leiden tot het vernieuwen van de pagina.
In plaats van te vertrouwen op verplichte vragen, kun je expressies gebruiken (lees meer over vraag en subvraag validatievergelijkingen) om de gebruiker de vraag te laten beantwoorden. Voorbeeld van de werking van validatievergelijkingen.



In het geval dat je een tijdslimiet (timer) wilt toepassen op een vraaggroep, kies dan het formaat groep-voor-groep, stel bij een vraag in dat de tijdslimietfunctie gebruik wordt, en kies de optie voor waarschuwen en verdergaan (standaard) als actie. Zodra de limiet is bereikt, wordt de enquête verplaatst naar de volgende pagina.


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