OnTimer()

void OnTimer(inKey)

Description

This function is activated every time a timer in the survey is elapsed and runs the code written inside of it, click here to learn more how to setup timers

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inKey string Name of the timer that was elapsed

 

Return Type

void

 

Example

Prompt the text "MyTimer was elapsed!!!" when a timer called 'MyTimer' is elapsed:

function OnTimer(key)
{
     if(key=="MyTimer")
    {
         Prompt("MyTimer was elapsed!!!");
     }
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.