Set Text In

Set Text is an action used in the Rule Panel to dynamically display a value in a specific UI element (like a heading, paragraph) based on its Element ID.

This action is triggered according to the event, such as a button click or a change in a field value.

Properties and Explanation

Here are the steps to follow in order to use the Set Text In action:

1

Value:

This property defines the dynamic or static content that will be shown in the selected element. It can be plain text, a formula, or data fetched from a data model, depending on the context of the event.

The Value Expression utilizes the Formula Editor, See how the Formula Editor work.

2

Select Element Id:

Specifies the target element (e.g., heading, paragraph) where the text will be displayed. You must enter the exact Element ID assigned to that UI component.

Full Configuration Example

Below is a screenshot of the Set Text In action configuration, showing all properties set for the Value and Select Element Id:

This screenshot shows the complete configuration of the Set Text In action, including all relevant properties set up on the page.

In this the heading element is added with an assigned Element ID. When an event (like a button click) occurs, the "Set Text" action updates the heading's text dynamically with the specified value.

Last updated