[Solved] Can anyone help me reduce these blocks?

Hi Thunkers! :wave:
One can take this as a challenge :upside_down_face:


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

image

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

Could you help me reduce these blocks?
Thanks! :blush:

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 … :laughing:

1 Like

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

1 Like

Hi, @rollke! :wave:

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

Thanks! :blush:

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

4 Likes

Thanks @paulmw! :+1:

That’s a good looking solution :star2:

Thanks! :blush:

2 Likes