# If-do statement left blank

**URL:** <https://community.thunkable.com/t/if-do-statement-left-blank/2560181>\
**Category:** Questions about Thunkable X\
**Created:** [August 24, 2023, 1:53pm UTC](https://community.thunkable.com/t/if-do-statement-left-blank/2560181 "2023-08-24T13:53:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sammy-wrightcuhb](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sammy-wrightcuhb](https://community.thunkable.com/u/sammy-wrightcuhb)\
**Post date:** [August 24, 2023, 1:53pm UTC](https://community.thunkable.com/t/if-do-statement-left-blank/2560181/1 "2023-08-24T13:53:52Z")

</div>

This is a question that I think I have the answer to but someone may know a better way of doing it.  
I have an if-do-else statement block. I want to say that if a certain cloud folder path already contains users input then do nothing, else add in the users input to this folder path.  
The way I have done this is to say "if - does list [FOLDER PATH] contain [USER INPUT] - do - (_I have left this blank_) - else - in list [FOLDER PATH] add at last as [USER INPUT].

Is this good practise or is there a better way to do it?

---

<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:** [August 24, 2023, 2:49pm UTC](https://community.thunkable.com/t/if-do-statement-left-blank/2560181/2 "2023-08-24T14:49:29Z")

</div>

Yes, it’s fine to leave part of an if/else block blank. If you prefer, you can use the `not` block in the Logic drawer instead.

---

<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 22, 2023, 2:49pm UTC](https://community.thunkable.com/t/if-do-statement-left-blank/2560181/3 "2023-11-22T14:49:32Z")

</div>

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