# How to get the Lable for an Field

**URL:** <https://forum.servoy.com/t/how-to-get-the-lable-for-an-field/13526>\
**Category:** Classic Servoy\
**Created:** [February 4, 2011, 9:36am UTC](https://forum.servoy.com/t/how-to-get-the-lable-for-an-field/13526 "2011-02-04T09:36:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefbrt](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@stefbrt](https://forum.servoy.com/u/stefbrt)\
**Post date:** [February 4, 2011, 9:36am UTC](https://forum.servoy.com/t/how-to-get-the-lable-for-an-field/13526/1 "2011-02-04T09:36:26Z")

</div>

The Question is If it is possible. How to the Label for an Field in an Form. In my mind I would use the labelFor Tag of the Label Properties to know the Label for the Field. But how is this implemented? I have now the Field and want to to geht the Label for this Field.

Regards, Stef

---

<div class="post-metadata">

**Author:** ![stefbrt](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@stefbrt](https://forum.servoy.com/u/stefbrt)\
**Post date:** [February 4, 2011, 9:43am UTC](https://forum.servoy.com/t/how-to-get-the-lable-for-an-field/13526/2 "2011-02-04T09:43:46Z")

</div>

OK this was a dummy question. I found It out my self after the Post! Before I’d faild to see the function.

Sorry!

The Function is getLabelForElementNames() and it Returns an Array.

Regards, Stef
