Toggle

A toggle button contains two opposing, binary states based on Boolean logic. On/Off is the default for the button, because this is the most common use.

Toggle Settings

When you use a check box widget, in addition to providing values for the default fields for a widget, you must define the following settings.
SettingDescription
SourceThe data source can be based on which queries have been added in the Page Data section. It is also possible to manually insert the data.
RequiredSpecify if an input must be sent to the query.
Submit on ChangeIf selected, changing the value of the input submits the query to which this input is assigned.
True LabelThere are two states on a toggle button. The True Label setting refers to the label of the active state.
False LabelThere are two states on a toggle button. The False Label setting refers to the label of the inactive state.
WidthThe width of the toggle button.

Possible Uses

Toggle buttons are generally used for on/off actions. For example, if a setting or feature is active/inactive, this can be controlled with a toggle button.

This example describes the device on/off switching using a Toggle button.
Note: Without an actual device or a simulator, the real action result cannot be seen.
  1. In the page designer, add a toggle widget and two input widgets.
  2. In Page Data section, add a function to the page, such as IQAW Set Immobilizer State.
  3. Drag the function parameters to connect to the input widgets and the toggle widget. Note that function (command) itself (IQAW Set Immobilizer State) should be connected to the toggle widget.