Add a Label Widget

About this task

Use the Label widget to add display text to the app. You can use the label widget to name another widget such as a set of radio buttons or a dropdown list or to provide the app user with instructions on the usage of a feature.

Procedure

  1. In the Canvas, open the Widgets tab.
  2. Double-click or drag and drop the Label widget onto the app canvas.
  3. In the Label Properties panel, enter a name for the widget in the Name field.
  4. Optional: Enter the text for the label in the Display text field.
  5. In the Text Formatting section, change the default formatting settings for text.
  6. Choose how you want to align your widget in the app.
    • Align Left
    • Center
    • Align Right
  7. Optional: Add a visibility rule to the widget.
    Use visibility rules to control when a widget is visible to the app user. For example, you can create a condition that a widget should only appear after the app user fills in a field or submits a form.
    1. Select Visibility Rule to open the Set Visibility Rule dialog box.
    2. Select whether the visibility rule requires meeting all or any conditions.
    3. Select an app field or variable and an operator from the Field list. Enter the value required for the widget to be visible.
    4. Select Add Condition to add another condition.
    5. Select Save.
  8. Move to the Format tab to customize the widget's appearance.
  9. Optional: Add events and actions to the widget.
    Events are activities that you can set to trigger an Action. For example, you can configure a widget to navigate to a new section in the app when the user selects it.
    Important: Events and actions offer a wide range of combinations. The following steps are guidelines only. Replace the listed events and actions with ones that suit your app's needs and structure. Learn more about available events and actions at Events and Actions.

    1. Move to the Events tab.
      Events tab in Widget configuration panel
    2. Choose an event such as On Click from the Events list and then select Add beside Actions.
    3. Select an action such as Navigate and configure the action. Select Add to apply it to the widget.
    4. Select Save to save the action.
    5. Repeat for any more event and action combinations and return to the Widget Properties tab.
  10. Select Save in the SOTI Snap banner to apply your changes.
    Save app button

Results

Tip: Select Preview to see how the widget appears in your app.