Please enable JavaScript to view this site.

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

Labels/Titles API: getPlaceholder

Scroll Prev Next More

 

Gets the field placeholder.

Syntax

Labels_getPlaceholder(table, field, language)

Arguments

table

the table name.

field

the field name.

language

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

Return value

Returns the field placeholder. Placeholder can be set in the Edit As settings or in the Label Editor on the Miscellaneous settings screen.

Example

Gets the "descr" field placeholder of the "carscars" table.

 

Labels_getPlaceholder("carscars", "descr", "English")

See also:

Labels/Titles API: setPlaceholder()

Miscellaneous settings: Label Editor

"Edit As" settings: Text Field

Page Designer: Working with page elements

About Labels/Titles API