/
B25.Lookup

B25.Lookup

Overview

Extension of B25.FormField, that represents a lookup on the form. Supports adding a search handler to generate custom results.

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

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

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 B25.FormField for all the methods that are inherited by this class.

Related content

B25.SearchResult
B25.SearchResult
More like this
Show only Contacts linked to the Account
Show only Contacts linked to the Account
Read with this
B25.SearchHandler
B25.SearchHandler
More like this
Quick Start Guide
Quick Start Guide
Read with this
B25.RelatedList
B25.RelatedList
More like this
B25.FormField
B25.FormField
More like this