Form Types
Switch
Indicate if the switch should be disabled or not.
Data required for getActualSet function
Boolean, to be turned on or not.
Important:
Please note that if(saved.state)
will return false if data is not set. If you want to default state to be true, use this:
Data returned
Boolean, true if turned on - false if turned off.