Keyword |
Template files |
Description
|
{SURVEYNAME} |
All Files |
The survey title
|
{SURVEYDESCRIPTION} |
All Files |
The survey description
|
{WELCOME} |
All files (mainly for welcome.pstpl) |
The survey 'welcome' text
|
{PERCENTCOMPLETE} |
survey.pstpl |
A small graph showing the percentage of the survey completed
|
{GROUPNAME} |
startgroup.pstpl, groupdescription.pstpl, endgroup.pstpl |
Displays the current group name
|
{GROUPDESCRIPTION} |
startgroup.pstpl, groupdescription.pstpl, endgroup.pstpl |
Displays the current group description
|
{NUMBEROFQUESTIONS} |
welcome.pstpl |
Displays the total number of questions in the survey (just the number)
|
{THEREAREXQUESTIONS} |
welcome.pstpl |
Displays the sentence "There are X questions in this survey" - from the relevant language file. The X is replaced with the number of questions. Note that this will also work appropriately for singular or plural. If there is only 1 question, it will print "There is 1 question in this survey".
|
{CHECKJAVASCRIPT} |
All files (mainly for welcome.pstpl) |
Warning message when end-user browser have javascript disabled
|
{QUESTION} |
Question.pstpl |
(Has been superseeded as of LS1.87) Displays the current question text (The format of {QUESTION} can customised by editing 'question_start.pstpl') Use the following: {QUESTION_TEXT}, {QUESTION_MANDATORY}, {QUESTION_HELP}, {QUESTION_MAN_MESSAGE}, {QUESTION_VALID_MESSAGE}, {QUESTION_INPUT_ERROR_CLASS}, and appropriate wrapping HTML instead of {QUESTION}
|
{ANSWER} |
question.pstpl, print_question.pstpl |
presents the answer form for the current question
|
{SGQ} |
question.pstpl, question text |
Can be used in the question text itself to reference the input field of the question dynamically by displaying the Survey-Group-Question id for the current question. (as of svn build 9755)
|
{QUESTIONHELP} |
question.pstpl, print_question.pstpl |
Displays help text (predefined tip for question type) for the current question
|
{QUESTION_CLASS} |
question.pstpl, print_question.pstpl |
unique class for each question type. (To be included in the question's wrapping tag.)
|
{QUESTION_CODE} |
question.pstpl, print_question.pstpl |
Displays the current question code
|
{QUESTION_ESSENTIALS} |
question.pstpl |
the question ID and (if a question is conditional), 'style="display:none;"'. (To be included in the question's wrapping tag.)
|
{QUESTION_HELP} |
question.pstp, question_start.pstpl |
Displays the user defined help text for the current question
|
{QUESTION_TYPE_HELP} |
print_question.pstp |
Displays the user defined help text for the current question
|
{QUESTION_INPUT_ERROR_CLASS} |
question.pstp, question_start.pstpl |
Provides a class if there was user input error
|
{QUESTION_ID} |
print_question.pstp |
Provides a unique ID for each question to allow styling for specific questions
|
{QUESTION_TEXT} |
question.pstp, print_question.pstp, question_start.pstpl |
Displays the text for the current question
|
{QUESTION_MANDATORY} |
question.pstp, print_question.pstp, question_start.pstpl |
Displays the translated 'Mandatory' text for the current question
|
{QUESTION_MAN_CLASS} |
question.pstpl, print_question.pstpl |
class if a question is mandatory. (To be included in the question's wrapping tag.)
|
{QUESTION_MAN_MESSAGE} |
question.pstp, print_question.pstp, question_start.pstpl |
Displays the translated 'Mandatory' help message text for the current question
|
{QUESTION_NUMBER} |
print_question.pstpl |
Incremental count of questions.
|
{QUESTION_VALID_MESSAGE} |
question.pstp, print_question.pstp, question_start.pstpl |
Displays the translated valid help message text for the current question
|
{QUESTION_SCENARIO} |
print_question.pstp |
Prints out the 'scenario' text for conditional questions.
|
{NAVIGATOR} |
navigator.pstpl |
Displays navigation buttons (next, prev, last)
|
{CLEARALL} |
All files (but intended for navigator.pstpl) |
Displays the "Exit and Clear Results" link
|
{COMPLETED} |
completed.pstpl |
Displays the 'completed' message for registering, will change depending on whether the attribute_1 and attribute_2 fields are set.
|
{URL} |
completed.pstpl |
Displays the survey 'url' and 'url text'
|
{PRIVACYMESSAGE} |
privacy.pstpl |
The privacy message is shown if you set your survey to be anonymous. The text can be edited/translated in the language files. This can also be changed manually by editing the privacy.pstpl template you wish to use.
|
{TEMPLATEURL} |
All Files |
The URL to the current template location (useful for referencing image files in your template)
|
{SURVEYRESOURCESURL} |
All Files |
The URL to the current uploaded files for this survey location (useful for referencing image files in your question, group, ....)
|
{SUBMITCOMPLETE} |
endpage.pstpl |
The statement (from the language files) that tells the user they have completed the survey, and to press the "Submit" button
|
{SUBMITREVIEW} |
survey.pstpl |
The statement (from the language files) that tells the user they can review/change the answers they have made by clicking "<< prev"
|
{SAVEDID} |
All Files |
Displays 'Response ID' of user
|
{QUEXMLPDF} |
All Files |
Displays button to export the queXML PDF of questionnaire including answers entered up until the point that has been completed in the survey.
|
{TOKEN:FIRSTNAME} |
All Files |
***If survey answers are NOT ANONYMOUS - gets replaced with the users first name from the tokens table
|
{TOKEN:LASTNAME} |
All Files |
***If survey answers are NOT ANONYMOUS - gets replaced with the users last name from the tokens table***
|
{TOKEN:EMAIL} |
All Files |
***If survey answers are NOT ANONYMOUS - gets replaced with the users email from the tokens table***
|
{TOKEN:ATTRIBUTE_1} |
All Files |
***If survey answers are NOT ANONYMOUS - gets replaced with the users attribute_1 from the tokens table***
|
{TOKEN:ATTRIBUTE_2} |
All Files |
***If survey answers are NOT ANONYMOUS - gets replaced with the users attribute_2 from the tokens table***
|
{ANSWERSCLEARED} |
Preferably in navigator.pstpl |
The "Answers Cleared" statement from the language files
|
{RESTART} |
clearall.pstpl |
URL to restart the survey
|
{REGISTERERROR} |
register.pstpl |
Shows any error messages in the register page (ie: "You must include an email address")
|
{REGISTERMESSAGE1} |
register.pstpl |
The statement "You must be registered to complete this survey" from the language files
|
{REGISTERMESSAGE2} |
register.pstpl |
Details about registering from the language files
|
{REGISTERFORM} |
register.pstpl |
The actual form for registering, will change depending on whether the attribute_1 and attribute_2 fields are set.
|
{SAVE} |
Works suitable on navigator.pstpl |
Displays the 'Save your responses so far' button to offer the user to save and come back later to continue the survey. If the Save option is deactivated in the survey properties the tag will not be shown and ignored.
|
{LANGUAGECHANGER} |
survey.pstpl |
Displays a switch in multilingual surveys to change the question.
|