# \[Solved\] Can anyone help me reduce these blocks?

**URL:** <https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [February 21, 2020, 11:21am UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707 "2020-02-21T11:21:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 21, 2020, 11:21am UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/1 "2020-02-21T11:21:31Z")

</div>

Hi Thunkers! 👋  
One can take this as a challenge 🙃

* * *

I have a form-like screen, where all inputs are mandatory. And if any is left empty, I check it with these blocks -

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/f/2f6422dfff8844fc1a3e55823749f346dbd0db48.png)

I believe, a shorter variation of these blocks can be made, right?

Could you help me reduce these blocks?  
Thanks! 😊

---

<div class="post-metadata">

**Author:** ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)\
**Post date:** [February 21, 2020, 2:13pm UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/2 "2020-02-21T14:13:03Z")

</div>

I also have a lot of this check text input , want it to reduce them but couldn’t find a way to do it , but well since the update of the block speed editor I’m not worry for now … I ha’ve tried several differents ways to reduce this checks but didn’t make much difference…

maybe a cool feature for thunkable could be makin our customs blocks with codes something like " If any of inputs ( text input 1 , text input2, …) are empty " then do … 😆

---

<div class="post-metadata">

**Author:** ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)\
**Post date:** [February 21, 2020, 3:54pm UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/3 "2020-02-21T15:54:34Z")

</div>

Can you join them and ask, wether the resulting string is empty?

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 21, 2020, 4:25pm UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/4 "2020-02-21T16:25:37Z")

</div>

Hi, @rollke! 👋

Nope, it would just check if **each** input is empty; I want, if **any** text input is left empty.

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)\
**Post date:** [February 21, 2020, 6:42pm UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/5 "2020-02-21T18:42:56Z")

</div>

Here is what I would do (and don’t have to change the code when you add more text inputs).

[https://x.thunkable.com/copy/233a34b7a7d94853bb58f68ff949007b](https://x.thunkable.com/copy/233a34b7a7d94853bb58f68ff949007b)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36461cb79e43800d0bd4316781a74688d95f7db0.png)

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [February 22, 2020, 3:12am UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/6 "2020-02-22T03:12:55Z")

</div>

Thanks @paulmw! 👍

That’s a good looking solution 🌟

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/solved-can-anyone-help-me-reduce-these-blocks/476707/7 "2024-11-08T11:40:54Z")

</div>


