SetLabelText

Sets the current text of the specified label.

Parameters

Name Type Description
fieldName String The name of the field.
Text String The text to set on the label. This method automatically adds a colon (:) and an asterisk * (for "required") as appropriate.

Return Value

Result Value
(none)  

Examples

This example sets the text of the label:

SetLabelText("Unit Price", "Price/Unit");

Comments

(none)