Actions

ExpressionFixedDbVar: Difference between revisions

From LimeSurvey Manual

({{FeatureStarting|4.0.1}})
No edit summary
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
=Usage=
=Usage=


Add SEED and other DB var in ExpressionScript Engine.
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==
==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 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]].}}


[[Category:Plugins]][[Category:Core Plugins]]
[[Category:Plugins]][[Category:Core Plugins]]

Revision as of 12:02, 19 January 2022

 Hint: This features is available starting in version 4.0.1


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).

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