Actions

Difference between revisions of "AfterGenerateToken"

From LimeSurvey Manual

(Page create)
 
m (→‎Usage: fix usage)
 
Line 3: Line 3:
 
== Usage ==  
 
== Usage ==  
  
This event is done when ExpressionScript create his own function. It allow to create own Expressioon Manager function.
+
This event happen just after a new token is generated for a participant and allow to update the new token.
  
 
== Input ==  
 
== Input ==  

Latest revision as of 14:24, 15 October 2020

Notice.png
 Hint: This features is available starting in version 4.0.0


Usage

This event happen just after a new token is generated for a participant and allow to update the new token.

Input

  • surveyId : the survey id
  • iTokenLength : the token length for this surey
  • oToken : the current token model
  • token : the current generated token

Possible output

  • token : the token to be generated

Example