SBM JavaScript Library Guide → Reference → Field Methods → GetLabelText
Gets the current text of the specified label.
| Name | Type | Description | 
|---|---|---|
| fieldName | String | The name of the field. | 
| Result | Value | 
|---|---|
| Success | The original value for the label on the form, or the value last set with the SetLabelText method. | 
| Failure | Null | 
This example gets the text of the label:
GetLabelText("Unit Price");
    (none)
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.