Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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, 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

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.

On this page

  • No labels