Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure the script field for records screens

Configure script screen fields to display calculated or personalized content in your mobile forms, without modifying the underlying database values.

Before you begin

Role required: admin

Note: For use cases and examples of how the script screen field is used, see Dynamic variable support in record screens.

Procedure

  1. In the web-based UI, enter sys_sg_screen_field.list in the filter navigator.

  2. Select either an existing form field or select New to open the Screen fields page.

  3. On the Screen fields page, fill in the required fields.

FieldDescription
TypeType of screen field. For a list of types and a description of how they're used, see Screen fields.For this configuration, select Script.
Form fieldTable field that the screen field uses as a data source. Select a field that contains the dynamic variable you want to use for the script.
HiddenOption to avoid this field from showing on the record screen.
OrderOrder in which this field appears. Fields appear on the record screen from the lowest to the highest value.
Value onlyValue of the field without the field label.
ScreenRecord screen field that displays data from the table field specified in Form Field field.
Execution scriptScript that runs when the record screen is displayed. The script must return a JSON object containing the Type and Value to display.
  1. Select Script from the Type field.

  2. From the Screen field, select the record screen where the execution script is to be activated.

  3. Enter your script in the Execution Script area, including any dynamic variables.

    Note: For configuration information, see Dynamic variable support in record screens.

  4. Select Submit.

Parent Topic:Add screen fields to a record screen