# Hide components with condition

**URL:** <https://forum.inductiveautomation.com/t/hide-components-with-condition/68495>\
**Category:** Ignition\
**Created:** [January 11, 2023, 5:46pm UTC](https://forum.inductiveautomation.com/t/hide-components-with-condition/68495 "2023-01-11T17:46:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 11, 2023, 6:55pm UTC](https://forum.inductiveautomation.com/t/hide-components-with-condition/68495/4 "2023-01-11T18:55:52Z")

</div>

> [@Ricky](#):
>
> if({'tag path'.quality} \< 192, False, True)

The advice from IA on [Using tag data quality to set tag value - #5 by PGriffith](https://forum.inductiveautomation.com/t/using-tag-data-quality-to-set-tag-value/59329/5) is to use the `isGood()` function rather than checking a range of values. It's also much shorter and more clear what the code is doing.

Welcome to the forum!

---

_[View the full topic](https://forum.inductiveautomation.com/t/hide-components-with-condition/68495)._
