# Disable Tag with Logical or Conditional expression

**URL:** <https://forum.inductiveautomation.com/t/disable-tag-with-logical-or-conditional-expression/31900>\
**Category:** Ignition\
**Created:** [February 4, 2020, 11:14am UTC](https://forum.inductiveautomation.com/t/disable-tag-with-logical-or-conditional-expression/31900 "2020-02-04T11:14:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorgeibesi](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@Jorgeibesi](https://forum.inductiveautomation.com/u/Jorgeibesi)\
**Post date:** [February 4, 2020, 11:14am UTC](https://forum.inductiveautomation.com/t/disable-tag-with-logical-or-conditional-expression/31900/1 "2020-02-04T11:14:28Z")

</div>

What type of expression I can use to disable a tag? Like {numberMotor-2} to disable when numerMotor is equal to 2 (it works). I’ve seen {numberMotor}=2 to enable only when numberMotor is equal to 2, but this doesn’t work for me. Is possible to use a type of Logical or Conditional function? Thanks in advance.
