# I need help with my check box

**URL:** <https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301>\
**Category:** Questions about Thunkable X\
**Created:** [May 14, 2024, 5:25pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301 "2024-05-14T17:25:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tagewiberg10mi](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tagewiberg10mi](https://community.thunkable.com/u/tagewiberg10mi)\
**Post date:** [May 14, 2024, 5:25pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/1 "2024-05-14T17:25:56Z")

</div>

I’m trying to make it so when my check box is filled in it add’s 100 to another number and when i disable the check box it takes those 100 away.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 14, 2024, 8:29pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/2 "2024-05-14T20:29:38Z")

</div>

Hi and welcome to Thunkable. Please click the link for How to Ask Great Questions below. We’ll need more details including screenshots of your blocks.

·····················································································································  
Need help? [How to Ask Great Questions](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983) ✨ [Debugging A Project](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471) ✨ [API JSON Tutorial](https://community.thunkable.com/t/api-json-tutorial-video/1140575)

Want to hire a Certified Thunkable Expert? [Elevate your app with Tatiang on Fiverr](https://www.fiverr.com/s/726B4a)

---

<div class="post-metadata">

**Author:** ![tagewiberg10mi](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tagewiberg10mi](https://community.thunkable.com/u/tagewiberg10mi)\
**Post date:** [May 15, 2024, 5:26am UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/3 "2024-05-15T05:26:54Z")

</div>

Sure here is a picture of my blocks but it is not the best as i am new  
 ![Skärmklipp](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/7/3712ff81f9a0c0fc4310316b4910c00be487444e.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 15, 2024, 6:12am UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/4 "2024-05-15T06:12:19Z")

</div>

The green `newValue` block will have a value of true or false. So you need to see if newValue = true or newValue = false. You’ll find the true and false blocks in the Logic drawer. Don’t use the `Visable` or `Disabled` property blocks for this.

---

<div class="post-metadata">

**Author:** ![tiny\_apps](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tiny\_apps](https://community.thunkable.com/u/tiny_apps)\
**Post date:** [May 15, 2024, 11:26am UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/5 "2024-05-15T11:26:02Z")

</div>

As tatiang said … use the “value” block instead of visible or disable… exactly the way you did it .

you “don’t need” to use logic blocks.

---

<div class="post-metadata">

**Author:** ![tagewiberg10mi](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tagewiberg10mi](https://community.thunkable.com/u/tagewiberg10mi)\
**Post date:** [May 15, 2024, 12:46pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/6 "2024-05-15T12:46:28Z")

</div>

I did that but i don’t know if i did something wrong beacause it still don’t work  
 ![bild_2024-05-15_144622515](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/af91dfa90c722f0d4f5da0a2684cbf7fbf4c8997.png)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [May 15, 2024, 1:06pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/7 "2024-05-15T13:06:59Z")

</div>

Hi @tagewiberg10mi you have to replace your true and false blocks with the green newValue (thsi block returns true or false depending on the checked state of the checkbox) block and instead of using two if statements you can use a if else statement.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/0/d0647670be3807f6533ae98c5e006abac3dbedfa.png)

edit:  
Ive shared the wrong code, my appologies.

Button’s 4 text returns a string so adding a number to it won’t work, using a number variable and placing your blocks like this should work.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/0/505e41bfa510ba55284d5633a3b019987e384d43.png)

---

<div class="post-metadata">

**Author:** ![tagewiberg10mi](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tagewiberg10mi](https://community.thunkable.com/u/tagewiberg10mi)\
**Post date:** [May 15, 2024, 1:21pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/9 "2024-05-15T13:21:12Z")

</div>

Thx and the first code worked

---

<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:** [August 13, 2024, 1:21pm UTC](https://community.thunkable.com/t/i-need-help-with-my-check-box/3003301/10 "2024-08-13T13:21:13Z")

</div>

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