Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Labels/Titles API > Methods

Labels/Titles API: getFieldLabel

Scroll Prev Next More

 

Gets the field label.

Syntax

Labels_getFieldLabel(table, field, language)

Arguments

table

the table name.

field

the field name.

language

the language of the field. Specify an empty string "" for the language parameter to use the current language.

Return value

Returns the field label. Labels can be set in the Label Editor.

Example

Gets the "carscars" table "descr" field label for the current language.

 

Labels_getFieldLabel("carscars", "descr", "")

See also:

Labels/Titles API: setFieldLabel()

Miscellaneous settings: Label Editor

About Labels/Titles API