> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/getlabeltext.md).

# getLabelText

Gets the current or original lable text for a control.

### Parameters

1. controlId - Id of the control
2. getDefault - (optional) If set to true, the default label text will be returned

```javascript
const defaultText = app.getLabelText("myControl", true);
```
