Actions

GetStatic

From LimeSurvey Manual

Revision as of 08:11, 11 May 2022 by DenisChenu (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 Hint: This features is available starting in version 5.3.12


Usage

Expression Script: allow to make any expression static for using in other expression

The function getStatic get 1 parameter : the expression.

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


Example

  • Get the value of current question when loaded (can be default value, or when user move previous) : getStatic(self.shown)
  • Show if participant update value {if(getStatic(self.shown) == self.shown, "You update current answer")}