Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Project Settings API > Methods

Project Settings API: getDisplayField()

Scroll Prev Next More

 

Returns the Lookup Wizard field whose value is displayed to the user.

Syntax

$settings->getDisplayField($field);

Arguments

$field

The field configured as a Lookup Wizard.

Return value

The name of the display field from the lookup table. Returns an empty value if no display field is configured.

Example

Display the field shown by the CustomerID Lookup Wizard.

$settings = new ProjectSettings("Orders");
echo $settings->getDisplayField("CustomerID");

See also:

getLookupTable()

getLinkField()

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software