Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:placeholders [09.04.2015 10:56] – [Customized Placeholder Rules] adminen:create:placeholders [29.08.2015 15:43] – [Predefined Placeholders] New predefined placeholders admin
Line 68: Line 68:
 The following placeholders are automatically available: these IDs are __not__ allowed to be used for user-defined placeholders. The content of the placeholders can be called up for further use by using the PHP function (see column on the right). The following placeholders are automatically available: these IDs are __not__ allowed to be used for user-defined placeholders. The content of the placeholders can be called up for further use by using the PHP function (see column on the right).
  
-^ID^Description^Variable in Data^PHP Function^+^Placeholder^Description^Variable in Data^PHP Function^
 |''%caseNumber%''|Ongoing Questionnaire Number|CASE|''[[:en:create:functions:casenumber|caseNumber()]]''| |''%caseNumber%''|Ongoing Questionnaire Number|CASE|''[[:en:create:functions:casenumber|caseNumber()]]''|
 |''%caseSerial%''|Questionnaire Authorization Code |SERIAL|''[[:en:create:functions:caseserial|caseSerial()]]''| |''%caseSerial%''|Questionnaire Authorization Code |SERIAL|''[[:en:create:functions:caseserial|caseSerial()]]''|
 |''%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()]]''|
 +
 +The following placeholders are available within an item or option (e.g., in the item text).
 +
 +^Placeholder^Description^
 +|''%i.num%''|Number of the item within the question (numeric)|
 +|''%i.anum%''|Number of the item within the question (lower case character)|
 +|''%i.cnt%''|Number of items within the question|
  
 The following placeholders are designated for use exclusively in the HTML template of a layout.  The following placeholders are designated for use exclusively in the HTML template of a layout. 
  
-^ID^Description^+^Placeholder^Description^
 |''%logo%''|HTML code for the active logo| |''%logo%''|HTML code for the active logo|
 |''%imprint%''|HTML code for the footer/contact information| |''%imprint%''|HTML code for the footer/contact information|
en/create/placeholders.txt · Last modified: 23.03.2021 22:44 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