Actions

ExpressionFixedDbVar: Difference between revisions

From LimeSurvey Manual

mNo edit summary
(Add list)
Line 4: Line 4:


Add SEED and other DB var in ExpressionScript Engine.
Add SEED and other DB var in ExpressionScript Engine.
Current 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 date 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==
==Global settings==
Line 11: Line 22:
==Survey settings settings==
==Survey settings settings==


You can choose the fixed DB var to add in ExpressionScript in this survey. Default is inherit (for Global settings).
You can choose the fixed DB var to add in ExpressionScript 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 10:33, 19 January 2022

 Hint: This features is available starting in version 4.0.1


Usage

Add SEED and other DB var in ExpressionScript Engine.

Current 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 date 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 ExpressionScript in this survey. Default is inherit (from Global settings).

  Before using these functions : the plugin must be activated in Plugin Manager.