x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

ExpressionFixedDbVar: Difference between revisions

From LimeSurvey Manual

DenisChenu (talk | contribs)
mNo edit summary
DenisChenu (talk | contribs)
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.