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 conditions, 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.
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.
The Lightning Forms Expression Builder allows you to add expressions to the following control and action types:
- Command Bar Action Buttons
- Visible
- Enabled
- Row
- Visible
- Enabled
- Tab
- Visible
- Enabled
- Field/Column
- Visible
- Enabled
- Initial
- Calculation
- Required
- Validation
- Validation Text
- Sub-list
- Visible
- Enabled
- Custom Action Button
- Visible
- Enabled
- Rich Text Control
- Visible
- Toolbar
- Visible
- Enabled
- Actions
- Condition Expression
- Action Specific Expressions e.g. Expression for a field using Set Field Value Expression
- Styling
- 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: