logo

NJP

How to Set Default Field Values in a Record Page Using UI Builder

New article articles in ServiceNow Community · Jun 02, 2025 · article

When working with Record Pages in UI Builder, there are cases where you need to set default values for fields in a form. This guide outlines the correct steps to configure this behavior in the Form Controller.

🎯 Steps to Set a Default Value in a Form Field

1️⃣ Open the Record Page in UI Builder

sarah_bioni_0-1748873119244.png

2️⃣ Select the Form Component

  • In the UI Builder canvas, click on the Form component.

sarah_bioni_1-1748873173393.png

  • In the right-hand panel, locate the Form Controller section.
  • Click the gear icon (⚙️) next to the Form Controller.

sarah_bioni_2-1748873184868.png

3️⃣ Add or Edit the Event

  • In the Form Controller configuration, go to the Events tab.
  • Look for the event:
    [Record Page] Record data fetch succeeded
    sarah_bioni_4-1748873237816.png
  • If it doesn’t exist, create it.

4️⃣ Configure the [Field] Set Value Action

  • Inside the event, add a new action:
    [Field] Set Value
    sarah_bioni_5-1748873374369.png
  • Select the field you want to set.
  • Provide the Value and Display Value.

5️⃣ Apply the Changes

  • Click Apply to save the configuration.
View original source

https://www.servicenow.com/community/next-experience-articles/how-to-set-default-field-values-in-a-record-page-using-ui/ta-p/3278984