« Back to Product

Documentation

Status message

Creates a status message.

Warning

Status messages can only be used in the "status" area. No other form field types can be used in the "status" area.

Parameters

Parameter Description
caption Visible caption
code Status code (see table)
icon Symbol which is displayed

Overview of the status codes

code Description
101 Instance is creating
102 Instance is active
103 Instance is deleting
104 Instance is inactive
105 Instance was not created
>=200 Instance is faulty
Warning

Codes >= 200 must be defined by oneself.

Overview of the possible icons

active

active

error

error

inactive

inactive

Example

// Active icon
    { "code": 102, "icon": "active", "caption": "Logged in!" }

    // Error icon
    { "code": 200, "icon": "error", "caption": "Error!" }

    // Inactive icon
    { "code": 104, "icon": "inactive", "caption": "Logged out!" }
Any questions?