Configure Mode Conditions

The Mode conditions allow you to build rules around views and forms for when they are defined as Offline. K2 Mobile makes use of the behavior associated with the mode parameter set to Offline, and so can be used as the front-end for forms. All other platforms will execute within Normal mode. You can use the following permutations with the Mode conditions:

Permutation Description
Offline Forms and Views have limited functionality and work without a connection to the server.
Normal Forms and Views have full functionality and require a connection to the server.

One example is where the device is offline when opening the form in K2 Mobile, you can send a message to inform the user of the offline status.

You can also create an advanced condition to check the mode status before executing an action by dragging Mode from the System Values of the Context Browser.