Lightning Forms – Expressions – Expression Builder Overview

In this video, we explore the Expression Builder in Lightning Forms. The Expression Builder in Lightning Forms helps you to easily add validation rules, calculations, default values, Enabled and Visible condition's, Conditional Formatting and more. In this video, we explore how to access the Expression Builder on each of the controls in your SharePoint list form. In subsequent video's, we will explore some example expressions.

In this video, we explore the Expression Builder in Lightning Forms. The Expression Builder in Lightning Forms helps you to easily add validation rules, calculations, default values, Enabled and Visible condition’s, Conditional Formatting and more. In this video, we explore how to access the Expression Builder on each of the controls in your SharePoint list form. In subsequent videos, we will explore some example expressions.

Using the Expression Builder in Lightning Forms

The Expression Builder in Lightning Forms helps you to intuitively add calculations, default values, hide/when conditions, validation rules and more. Below, we will explain how to access the Expression Builder for each type of control, and explain the Expression Builder dialog. In the next video, we will explore some examples of expressions that can be created within your forms.

Lightning Forms Expression Builder

The Lightning Forms Expression Builder allows you to add expressions to the following control and action types:

  1. Command Bar Action Buttons
    1. Visible
    2. Enabled
  2. Row
    1. Visible
    2. Enabled
  3. Tab
    1. Visible
    2. Enabled
  4. Field/Column
    1. Visible
    2. Enabled
    3. Initial
    4. Calculation
    5. Required
    6. Validation
    7. Validation Text
  5. Sub-list
    1. Visible
    2. Enabled
  6. Custom Action Button
    1. Visible
    2. Enabled
  7. Rich Text Control
    1. Visible
  8. Toolbar
    1. Visible
    2. Enabled
  9. Actions
    1. Condition Expression
    2. Action Specific Expressions e.g. Expression for a field using Set Field Value Expression
  10. Styling
    1. Conditional Formatting Expressions

You can access the Expression Builder whenever you see the following icon for the field/control that you are setting the expression for:

How to access the Expression Builder pane.

Leave a comment