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