B25.Lookup

Overview

This class represents a lookup field on the form. This can be either a field on the main form, or on a related list. It extends the class B25.FormField, so it has all the methods defined there, and has extra support for adding SearchHandlers.

Methods

onSearch

1 void onSearch(B25.SearchContext.SearchHandler handler)

Adds a search handler to this lookup field. This handler will be called when the user searches in this lookup. Note: calling this method outside of the customize method (defined in B25.Form.Customizer) has no effect.

Parameters:

Name

Type

Description

handler

B25.SearchContext.SearchHandler

The search handler to generate custom results when the user searches in this lookup.

Inherited Methods

This class extends B25.FormField. See https://gen25-jira.atlassian.net/wiki/spaces/BPD/pages/1875116033/B25.FormField for all the methods that are inherited by this class.