# Using Logical Output of Switch or Checkbox

**URL:** <https://community.thunkable.com/t/using-logical-output-of-switch-or-checkbox/4107531>\
**Category:** Questions about Thunkable X\
**Created:** [September 1, 2025, 5:13pm UTC](https://community.thunkable.com/t/using-logical-output-of-switch-or-checkbox/4107531 "2025-09-01T17:13:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdmahaney\_sla](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sdmahaney_sla/32/209079_2.png) [@sdmahaney\_sla](https://community.thunkable.com/u/sdmahaney_sla)\
**Post date:** [September 1, 2025, 5:13pm UTC](https://community.thunkable.com/t/using-logical-output-of-switch-or-checkbox/4107531/1 "2025-09-01T17:13:21Z")

</div>

What is the actual output of a switch or checkbox? Is it a binary logical, or a text string like “true” or “false”? Any how do we make use of the ‘newvalue’ output? I’m not getting this to work at all.

I tried using the ‘newValue’ directly in an ‘if’ statement and it did not evaluate.

 ![Clip0001](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/c/9cba6d741cbdd5b0c581ca115937cd9f70d0e3bd.jpeg)

I’m writing ‘newValue’ directly to a label right away to verify that it does change and I get “true” or “false” there as expected.

So I try evaluating the output as text, ‘if (newValue = “true”)’.

 ![Clip0002](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/8/089f8d9746860bab302d136f6d81b4e3489de54b.jpeg)

But this isn’t working either. Any examples/tips out there?

[[I need help with my check box - #5 by tiny\_apps](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/5)  
suggests that ‘newValue’ can be evaluated directly]

---

<div class="post-metadata">

**Author:** ![sdmahaney\_sla](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sdmahaney_sla/32/209079_2.png) [@sdmahaney\_sla](https://community.thunkable.com/u/sdmahaney_sla)\
**Post date:** [September 1, 2025, 5:29pm UTC](https://community.thunkable.com/t/using-logical-output-of-switch-or-checkbox/4107531/2 "2025-09-01T17:29:24Z")

</div>

So the problem seems to have been with the ‘set property’ blocks. There must have been a stray character in the property field (??). I remade the blocks and it works as expected.

Now to rip out the half dozen special debugging labels and trim all the resulting error blocks…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [November 30, 2025, 5:30pm UTC](https://community.thunkable.com/t/using-logical-output-of-switch-or-checkbox/4107531/3 "2025-11-30T17:30:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
