Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
en:create:placeholders [23.03.2021 22:30] – [Outline] sophia.schaueren:create:placeholders [23.03.2021 22:44] – [Predefined Placeholders] sophia.schauer
Line 73: Line 73:
 |''%caseToken%''|Internal Questionnaire ID|-|''[[:en:create:functions:casetoken|caseToken()]]''| |''%caseToken%''|Internal Questionnaire ID|-|''[[:en:create:functions:casetoken|caseToken()]]''|
 |''%reference%''|Reference Given to the Questionnaire|REF|''[[:en:create:functions:reference|reference()]]''| |''%reference%''|Reference Given to the Questionnaire|REF|''[[:en:create:functions:reference|reference()]]''|
 +''%pageNumber.abs%'' as long as no ''[[:en:create:functions:gotopage]]'' is used to jump to another page and a question or other content was displayed there.|||
 +|''%pageNumber.rel%''|Number of the current page counted since the beginning of the interview (not compatible with ''[[:en:create:functions:gotoquestionnaire]]'', ''[[:create:functions:multileveldown]]'' and the function **Collected Data** -> **Restart an Interview Case**)|||
 +
 +The following placeholders are available in some (not yet all) error messages, which can be customized under **Text Elements and Labels**. If the affected question has no number, the placeholder is left blank (removed).
 +
 +^Placeholder^Description^Example^Example^
 +|''%q.desc%''|Description of the question(s) concerned|question 1|questions 2,3|
 +|''%(q.desc)%''|Description in brackets|(question 1)|(questions 2,3)|
 +|''%q.list%''|Number of the question(s) concerned|1|2,3|
 +
 +
  
 The following placeholders are available within an item or option (e.g., in the item text). The numbering helps, e.g., to give randomly rotated options continuous numbers. The following placeholders are available within an item or option (e.g., in the item text). The numbering helps, e.g., to give randomly rotated options continuous numbers.
en/create/placeholders.txt · Last modified: 21.04.2024 20:21 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki