ExpressionFixedDbVar: Difference between revisions
From LimeSurvey Manual
DenisChenu (talk | contribs) Add list |
No edit summary |
||
Line 3: | Line 3: | ||
=Usage= | =Usage= | ||
This plugin makes SEED and other fixed variables available for use in Expression Script. | |||
By activating the plugin the available Database columns are: | |||
* 'SEED' : the initial value of randomization | * 'SEED' : the initial value of randomization | ||
* 'SUBMITDATE' : the submit date , real date for date stamped survey, false date if not. | * 'SUBMITDATE' : the submit date, real date for date stamped survey, false date if not. | ||
* 'STARTDATE' : the start date for date stamped survey. | * 'STARTDATE' : the start date for date stamped survey. | ||
* 'DATESTAMP'' : the date of last action for date stamped survey. | * 'DATESTAMP'' : the date of last action for date stamped survey. | ||
* 'LASTPAGE' : the last page seen by respondent. | * 'LASTPAGE' : the last page seen by respondent. | ||
* 'STARTLANGUAGE' : the start | * 'STARTLANGUAGE' : the start language of the survey. | ||
* 'IPADDR' : the IP address of the survey respondent if save IP address activated. | * 'IPADDR' : the IP address of the survey respondent if save IP address activated. | ||
* 'REFURL' : the referrer URL if save referrer URL is activated | * 'REFURL' : the referrer URL if save referrer URL is activated | ||
Line 22: | Line 22: | ||
==Survey settings settings== | ==Survey settings settings== | ||
You can choose the fixed DB var to add in | You can choose the fixed DB var to add in Expression Script in this survey. Default is inherit (from Global settings). | ||
{{Alert|Before using these functions : the plugin must be activated in [[Plugin_manager#General|Plugin Manager]].}} | {{Alert|Before using these functions : the plugin must be activated in [[Plugin_manager#General|Plugin Manager]].}} | ||
[[Category:Plugins]][[Category:Core Plugins]] | [[Category:Plugins]][[Category:Core Plugins]] |
Revision as of 12:02, 19 January 2022
Usage
This plugin makes SEED and other fixed variables available for use in Expression Script.
By activating the plugin the available Database columns are:
- 'SEED' : the initial value of randomization
- 'SUBMITDATE' : the submit date, real date for date stamped survey, false date if not.
- 'STARTDATE' : the start date for date stamped survey.
- 'DATESTAMP : the date of last action for date stamped survey.
- 'LASTPAGE' : the last page seen by respondent.
- 'STARTLANGUAGE' : the start language of the survey.
- 'IPADDR' : the IP address of the survey respondent if save IP address activated.
- 'REFURL' : the referrer URL if save referrer URL is activated
Global settings
You can choose the fixed DB var to add in ExpressionScript in all survey by default.
Survey settings settings
You can choose the fixed DB var to add in Expression Script in this survey. Default is inherit (from Global settings).
