# Selector for specific label

**URL:** <https://forums.knack.com/t/selector-for-specific-label/8472>\
**Category:** API & Custom Code\
**Created:** [April 9, 2020, 7:44am UTC](https://forums.knack.com/t/selector-for-specific-label/8472 "2020-04-09T07:44:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent94744](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@Vincent94744](https://forums.knack.com/u/Vincent94744)\
**Post date:** [April 9, 2020, 7:44am UTC](https://forums.knack.com/t/selector-for-specific-label/8472/1 "2020-04-09T07:44:59Z")

</div>

I want to select a specific label. For example, the label named " **Status**" (see below for image).&nbsp;

Instead, my code is selecting all labels (" **Description**" and " **Status**").

How do I select " **Status**" only?

In other words, how do I select the **label** for field\_123?

&nbsp;

![](upload://oce1pOLc6PZCeZDTc3A4sfZ92wD.png)

&nbsp;

![](upload://v6eoEDhj7dA7Aj7swiR9LDABHIN.png)

---

<div class="post-metadata">

**Author:** ![Vincent94744](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@Vincent94744](https://forums.knack.com/u/Vincent94744)\
**Post date:** [April 9, 2020, 8:15am UTC](https://forums.knack.com/t/selector-for-specific-label/8472/2 "2020-04-09T08:15:08Z")

</div>

This worked for me:

&nbsp;

/\* Selects a specific label: \*/&nbsp;

.kn-detail.field\_123 \> .kn-detail-label
