Banner

Informational banner (info, warning, error, success) with a title and text that can be changed by rules.

Widget description: banner

A banner is a colored bar with a title and text. It is useful for alerts, instructions, or status messages, such as “Budget over 100,000 CZK requires approval”. It is a virtual widget: it does not belong to any list column and is not saved to the item (see What is a widget).

The main strength of the banner lies in rules: you can change the banner's intent, title, and content based on field values.

Banner widget settings in the inspector: banner intent, title, and content
  1. In the left palette, switch from the Fields tab to the Widgets tab.
  2. Drag Info Banner into a section, or click “+” to add it to the end of the selected section.
  3. Click the banner on the canvas. The inspector opens on the right with its settings.

A new banner spans the full width of the section (colSpan 12), has intent info, title “Important information”, and sample text.

OptionPropertyDescriptionDefault
Banner intentbannerConfig.intentinfo (Info), warning (Warning), error (Error), success (Success). Controls color and icon.info
Banner titlebannerConfig.titleBold heading above the text. An empty title falls back to the widget's custom label (customLabel) if filled in.empty
Banner contentbannerConfig.contentBanner text. Required: empty content fails configuration validation.sample text
Custom labelcustomLabelWidget name. Displayed as the title when no banner title is set.“Info Banner”
Width in sectioncolSpanWidth in the section (25% to 100%, stored in 12ths).12
VisibledefaultVisibleDefault visibility. Rules can change it at runtime.yes

The Required and Read-only options are not offered for the banner.

In the value of setBannerTitle and setBannerContent actions, you can use:

SyntaxSubstituted value
[Field] or {Field}current value of the field with the given internal name (for choice, person, or lookup, its display label)
@Mename of the signed-in user
@Todaytoday's date formatted as YYYY-MM-DD

An empty or unknown field is replaced with an empty string. The substituted value is not re-evaluated, so a user cannot inject another placeholder into the banner.

You can translate the widget label (customLabel), title (bannerTitle), and content (bannerText or bannerContent). An empty translation is ignored and the base text is used. See Translations and Multilingual Forms for details. Text from rules is not translated; write it in the language you want to display.

Typical pattern: two rules on one banner, one for a “healthy” state (success) and another for an issue (warning). In the visual rule editor, the Controlled by rules section on the widget shows which rules reference the banner.

Rule with Set banner intent, Set banner title, and Set banner content actions. The text shows the [Stav] placeholder
Completed form with two banner states side by side (info and warning) with a substituted field value

A banner widget and a rule that changes its intent and text based on the Stav field.

{
  "internalName": "widget_banner_stav",
  "customLabel": "Status banner",
  "fieldType": "banner",
  "colSpan": 12,
  "defaultVisible": true,
  "bannerConfig": {
    "intent": "info",
    "title": "Information",
    "content": "The form is ready to be filled in."
  }
}
{
  "id": "rule-banner-zamitnuto",
  "name": "Banner on rejection",
  "trigger": "always",
  "matchType": "all",
  "conditions": [
    { "fieldInternalName": "Stav", "operator": "equals", "value": "Rejected" }
  ],
  "actions": [
    { "targetFieldInternalName": "widget_banner_stav", "action": "setBannerIntent", "value": "error" },
    { "targetFieldInternalName": "widget_banner_stav", "action": "setBannerTitle", "value": "Request rejected" },
    { "targetFieldInternalName": "widget_banner_stav", "action": "setBannerContent", "value": "Rejected by [Schvalovatel] on @Today." }
  ]
}