Skip to main content

Using Lookup to return multiple values

Select one source record with Lookup and map its values into several compatible form fields, then test the picker, filters, and returned values.

Note

A Lookup field lets users select a source record and return related values to the current form.

This example returns several values from one selected record: a machine’s type, name, model, and active service date. Each source field must be associated with a target field of the same data type. See the Lookup field guide.

To turn selected records into separate detail rows instead, see Using Lookup List function to return rows of values.


Step 1. Create or manage a data list as "source data"

Create or open Machine List as the source data. Include Status, Type, Name, Model, and Active service date, with the appropriate field types. Add at least two distinct test records.

Please Note: A source field used in Lookup filtering must be indexed. For the example filter Status equals Active, configure Status as an index field.

Step 2. Add associated fields in your "target form"

In the target form, add fields to receive Type, Name, Model, and Active service date. Use text fields for text values and a date field for the date; match Type to a target field with the same data type as its source. Check each source and target field’s data type before configuring Lookup.

Step 3. Set properties of Lookup

Add a Lookup control and configure its properties:

  • Source Data Binding: choose the application and Machine List source.

  • Appearance: choose a Display Field, such as Name, for the selected record’s label. Open Additional Fields → Settings to configure picker columns and returned values.

The column checkboxes determine which source fields appear in the selection window. Associated fields determine which target form fields receive values. Map Type, Name, Model, and Active service date to their corresponding compatible target fields. Selecting a display column alone does not configure its return mapping.

Historical Lookup configuration showing the Associated fields choices for Type, Name, Active service date, and Model.

This crop shows the target-association column in the help center’s original configuration image; its capture date and product build are unknown.

Optionally, add Status equals Active under Filters so the picker returns the matching records. Keep this example in single-selection mode while testing its field mappings.

  • Validation: configure required fields or custom business validation, then test the conditions they use.

To run an action when the Lookup value changes, open Content → Action and select the predefined action. Configure validation separately under Content → Validation.

Step 4, Manage the layout and preview

Preview the form and open the Lookup picker using its search button. If you added the Status filter, confirm that only matching machines appear.

Select the first test machine and compare all four returned fields with its source record. Select the second machine, then clear the selection, and check that the target fields behave as your form requires. Test any calculations or events that depend on these values before publishing.

Example Demo

For example, selecting a machine named Inspection unit A can return Inspection equipment, Inspection unit A, M-100, and 2026-01-15 to Type, Name, Model, and Active service date. These four values come from the same selected record.

After saving and publishing the test form, repeat the selection with an intended user and check the stored values. This verifies the form configuration beyond its designer preview.

Furthermore

You can reference the returned form fields in property-value or calculated-field expressions. Verify the calculation with the test records, including a changed or empty selection. For multiple selected records that must become separate approval-form detail rows, use the Lookup List guide linked above.

Did this answer your question?