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
Last revisionBoth sides next revision
en:create:functions:getvaluetext [18.12.2014 23:41] alexander.ritteren:create:functions:getvaluetext [20.12.2014 15:57] alexander.ritter
Line 3: Line 3:
 ''string **getValueText**(string //variable//, int //answercode//)'' ''string **getValueText**(string //variable//, int //answercode//)''
  
-The function ''getValueText()'' returns the verbal response (label) to an answer code. For a selection question this is the text of the corresponding selection option (also determined with ''[[:en:create:functions:getitemtext|getItemtext()]]''). For a scale, the label (verbal anchor) of the corresponding point on the scale is returned. +The function ''getValueText()'' returns the verbal response (label) to an answer code. For a selection questionthis is the text of the corresponding selection option (also determined with ''[[:en:create:functions:getitemtext|getItemtext()]]''). For a scale, the label (verbal anchorage) of the corresponding point on the scale is returned. 
  
-  * //variable//\\ ID of the variable which the label shall be generated for+  * //variable//\\ ID of the variable for which the label shall be generated. 
-  * //answer//\\ (Numeric) answer code, whose verbal equivalent shall be generated.+  * //answercode//\\ (Numeric) answer code, whose verbal equivalent shall be generated.
  
-If no label exists for the //answer code// (e.g. for the intermediate value in a scale in which only the extremes are labeled), the answer code is returned. +If no label exists for the //answercode// (e.g. for the intermediate value in a scale where only the extremes are labeled), the answer code is returned. 
  
-**Tip:** The function ''[[:en:create:functions:value|value()]]'' returns the verbal representation of an answer, if you specified '''text''' as the second parameter. +**Tip:** The function ''[[:en:create:functions:value|value()]]'' returns the verbal representation of a response, if you specified '''text''' as the second parameter. 
en/create/functions/getvaluetext.txt · Last modified: 30.04.2021 09:46 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki