Skip to main content

Control Events


When creating or editing records on the record detail page, you can configure control events to enable custom interactions.
When a user interacts with a field and defined conditions are met, the system can automatically execute configured actions—such as displaying a message or calling an integrated API.

The record detail page refers to:

  • The record creation page opened via the “Create Record” button
  • The record detail page opened by clicking an existing record

Control events are not available when editing records in views (including bulk edit), and do not take effect during data import or when records are created via workflows.

Scenario Example

When the Membership Level field is set to:

  • VIP1 → the Discount field is automatically set to 5% off
  • VIP2 → the Discount field is automatically set to 15% off
  • Empty or non-member → the Discount field is set to No Discount

Configure Control Events

In the form editor, select a field → click Event in the right panel → click + Event to start configuring.

1. Select Event Type

Choose When Value Changes.
In this example, both selecting a membership level and clearing the field are considered value changes.

2. Configure Conditions and Actions

Example condition and action:

  • When Membership Level = VIP1 → set Discount = 5% off

Condition configuration:

Action configuration:

3. Add Additional Conditions and Actions

Click Add Condition next to the event type to create additional condition–action groups.

Result:

Supported Event Types by Control Type

Currently supported event types include:

  • When Field is Shown / Hidden
  • When Field Gains / Loses Focus
  • When Value Changes
  • When Value Changes and Loses Focus

Different control types support different event types:

Control TypeOn ShowOn HideOn FocusOn BlurOn Value ChangeOn Value Change + Blur
Input🚫
Action🚫🚫🚫
Read-only🚫🚫🚫🚫
Selection🚫🚫🚫
Relationship🚫🚫🚫

Input controls:
Text, Number (manual input), Currency, Email, Phone, Rich text, ID number

Action controls:
Number (progress/stepper), Date, Time, File, Check item, Level, Positioning, Signature

Read-only controls:
Formula, Auto-number, OCR, API Query (button), Barcode, Uppercase, Embed, Query records, Foreign field, Rollup, Free link, Section, Tab, Remark

Selection controls:
Region/City, Single select, Multi select, Member, Department, Organization role, API Query (dropdown)

Relationship controls:
Relationship, Subform, Cascading

warning

If a field is read-only and its value is empty, the On Show event will not be triggered.

Action Types

The following actions can be triggered when an event occurs:

ActionDescription
Show / HideShow or hide specified fields when the event occurs (temporary; differs from business rules)
Set Read-only / EditableSet fields to read-only or editable when the event occurs (temporary; differs from business rules)
Set Field ValueUpdate or clear a field value
Refresh Field ValueRefresh values for formula, rollup, concat fields, etc.
Call Packaged Business ProcessInvoke an available PBP and map returned values to the record
Call Integrated APICall a configured API and map returned values to the record
Show MessageDisplay a custom global message
Play SoundPlay a predefined sound or audio file
Activate TabSwitch to a specified tab when multiple tabs are present

Event Conditions

In addition to the trigger event, you can define conditions that must also be met before actions are executed.

Multiple condition groups can be configured under a single event.
If one condition group is not met, the system evaluates the next group until a match is found.

Supported condition types:

Condition TypeDescription
Based on Field ValuesExecute actions when field values meet defined criteria
Based on Query WorksheetExecute actions when query results meet expected conditions
Based on Custom FunctionExecute actions when a custom JavaScript function returns true

Execution Order and Priority

  1. All control event actions are executed top to bottom based on their configuration order

  2. When the form loads:

    • All visible fields trigger their On Show events
    • Execution follows the form layout order
    • Within each event, actions execute top to bottom
  3. If a field’s visibility changes due to business rules, it will trigger its On Show or On Hide event

  4. Field properties configured directly in field settings (e.g., hidden, read-only) can be overridden by control events (e.g., made visible or editable)

  5. When both control events and business rules apply to the same field (hide, show, read-only, editable):

    • Event actions execute first
    • Then business rules are applied with the following priority:
      • Visibility: Hidden > Visible
      • When visible: Read-only > Required > Editable

Was this document helpful?