getState (Client API reference)

Returns the state of the timer control.

Control types supported

Timer

Syntax

formContext.getControl(arg).getState();

Return Value

Type: Number

Description: Returns one of the following values:

Value State
1 Not Set
2 In progress
3 Warning
4 Violated
5 Success
6 Expired
7 Canceled
8 Paused

Controls