# Hiding and showing lables upon a tag value

**URL:** <https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138>\
**Category:** Ignition\
**Created:** [March 11, 2014, 5:11pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138 "2014-03-11T17:11:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arye](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@arye](https://forum.inductiveautomation.com/u/arye)\
**Post date:** [March 11, 2014, 5:11pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/1 "2014-03-11T17:11:13Z")

</div>

Hi All,

Thank you very much for your support!!

I would be happy if I could get some help with the followings:  
I need to make some labels visible or hidden upon a Tag value.

How can I do that?

thank you!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 11, 2014, 5:28pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/2 "2014-03-11T17:28:24Z")

</div>

Take a look at [this topic](http://inductiveautomation.com/forum/viewtopic.php?f=70&t=11763&start=0&st=0&sk=t&sd=a&hilit=dataset).

Is that close to what you’re looking for?

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [March 13, 2014, 8:47pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/3 "2014-03-13T20:47:17Z")

</div>

arye,

Create an expression binding on the visible property of the label. For mine, I have a boolean tag the expression is referencing, and the expression is

```auto
{tag_path}=1
```

---

<div class="post-metadata">

**Author:** ![arye](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@arye](https://forum.inductiveautomation.com/u/arye)\
**Post date:** [March 20, 2014, 10:49am UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/4 "2014-03-20T10:49:34Z")

</div>

Thanks,

I want to do this:  
Show or hide a label field if the value inside it is higher then, lets say, 1000.  
I am using indirect Tags.

How can I do that?

Thanks

---

<div class="post-metadata">

**Author:** ![accyroy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/accyroy/32/3386_2.png) [@accyroy](https://forum.inductiveautomation.com/u/accyroy)\
**Post date:** [March 20, 2014, 11:44am UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/5 "2014-03-20T11:44:58Z")

</div>

On the visibility property add an expression binding looking at the value contained within:

```auto
{Root Container.Numeric Text Field.intValue}>1000
```

---

<div class="post-metadata">

**Author:** ![arye](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@arye](https://forum.inductiveautomation.com/u/arye)\
**Post date:** [March 20, 2014, 11:59am UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/6 "2014-03-20T11:59:15Z")

</div>

Thanks,

Not sure I understand how to do that.  
I am using Indirect Tags and if I’ll add an expression that will remove the indirect, no?  
How do I know the {Root Container.Numeric Text Field.intValue} - correct path?  
I though that there was a this.value solution.

I need an assistance with the path of the value - how can i get the right path?  
Please help me to understand where to add the above.

Thanks

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 20, 2014, 12:03pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/7 "2014-03-20T12:03:57Z")

</div>

You’re right on that. In that instance, create a Custom property that will hold the value from your indirect tag. You can then bind the visibility to the custom property.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 20, 2014, 12:17pm UTC](https://forum.inductiveautomation.com/t/hiding-and-showing-lables-upon-a-tag-value/8138/8 "2014-03-20T12:17:27Z")

</div>

Let me go further. You can either use an if/then expression in the visibility property or you can use the style manager to do the same thing. The style manager would be a more flexible option for you.
