[[value()]]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:value [06.12.2014 15:47] – [Application in Filters] alexander.ritteren:create:functions:value [29.09.2020 21:09] sophia.schauer
Line 5: Line 5:
 The participant's responses (answer codes, selected options or text inputs) can be determined with this function.  The participant's responses (answer codes, selected options or text inputs) can be determined with this function. 
  
-**Note:** Only responses given by the participant on an __earlier__ page in the questionnaire and already transmitted to the server with "Next" can be called up. +**Note:** Only responses given by the participant on an __earlier__ page in the questionnaireand already transmitted to the server with "Next" can be called up. 
  
-  * //variable//\\ ID of the variable to be read. The correct ID can always be found in the **Variables Overview**. The variable ID is usually (not always) composed of section, question and, if applicable, item ID and must be given as a string (in quotation marks) (e.g. '''XY01_02'''). +  * //variable//\\ ID of the variable to be read. The correct ID can always be found in the **Variables Overview**.  
 +    * The variable ID is usually (not always) composed of section, question and, if applicable, item ID and must be given as a string (in quotation marks) (e.g. '''XY01_02''').  
 +    * Besides the variables of questions, the following variables are also available: CASE, MISSING, SERIAL, REF, QUESTNNR, MODE, LANGUAGE and STARTED
   * //outputformat//\\ The output format determines whether the function returns the answer code (default) or the label text of the response. The following entries are allowed:   * //outputformat//\\ The output format determines whether the function returns the answer code (default) or the label text of the response. The following entries are allowed:
     * '''code'''\\ Default format for ''value()'': answer code according to the **Variables Overview** (also returned if no answer format is specified), for text input questions this is the text entered.      * '''code'''\\ Default format for ''value()'': answer code according to the **Variables Overview** (also returned if no answer format is specified), for text input questions this is the text entered. 
en/create/functions/value.txt · Last modified: 26.04.2024 16:33 by jdupont
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki