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!!!");
}
}
Comments
Please sign in to leave a comment.