Dokumentation
Statusmeldung
Erstellt eine Statusmeldung.
Statusmeldungen können nur im "status"-Bereich genutzt werden. Keine anderen Formularfeldtypen können im "status"-Bereich genutzt werden.
Parameter
| Parameter | Beschreibung |
|---|---|
| caption | Sichtbare Beschriftung |
| code | Statuscode (siehe Tabelle) |
| icon | Symbol welches angezeigt wird |
Übersicht der Statuscodes
| code | Beschreibung |
|---|---|
| 101 | Instanz wird erstellt |
| 102 | Instanz ist aktiv |
| 103 | Instanz wird gelöscht |
| 104 | Instanz ist inaktiv |
| 105 | Instanz wurde nicht erstellt |
| >=200 | Instanz ist fehlerhaft |
Codes >=200 müssen selbstdefiniert werden.
Übersicht der möglichen Icons
active

error

inactive

Beispiel
// 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!" }