# How to remove undefined

**URL:** <https://community.thunkable.com/t/how-to-remove-undefined/40103>\
**Category:** Questions about Thunkable X\
**Created:** [August 9, 2018, 11:08am UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103 "2018-08-09T11:08:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![simsonpeter](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@simsonpeter](https://community.thunkable.com/u/simsonpeter)\
**Post date:** [August 9, 2018, 11:08am UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/1 "2018-08-09T11:08:23Z")

</div>

My app displays spreadsheet cell text into label text. When no internet , label text shows undefined. How can I get rid this message and display custom text like no internet?

---

<div class="post-metadata">

**Author:** ![NIKHIL\_27\_B](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nikhil_27_b/32/23148_2.png) [@NIKHIL\_27\_B](https://community.thunkable.com/u/NIKHIL_27_B)\
**Post date:** [August 9, 2018, 11:20am UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/2 "2018-08-09T11:20:29Z")

</div>

use the notifier for the no internet

---

<div class="post-metadata">

**Author:** ![simsonpeter](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@simsonpeter](https://community.thunkable.com/u/simsonpeter)\
**Post date:** [August 9, 2018, 12:17pm UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/3 "2018-08-09T12:17:34Z")

</div>

Hi NIKHIL my question is how to get rid undefined message when the app is in Offline. I don’t have to display anything.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 9, 2018, 4:29pm UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/4 "2018-08-09T16:29:38Z")

</div>

Hi,

In Thunkable X, there is no function to detect a network connection. Before you display the information, make a check. If the data = undefined, instead, display the desired text.

---

<div class="post-metadata">

**Author:** ![simsonpeter](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@simsonpeter](https://community.thunkable.com/u/simsonpeter)\
**Post date:** [August 9, 2018, 9:14pm UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/5 "2018-08-09T21:14:46Z")

</div>

Thanks a lot ACTECH. it works

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [August 10, 2018, 12:25am UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/6 "2018-08-10T00:25:46Z")

</div>

@simsonpeter, If you are using the Spreadsheet component to get your data and there is no internet connection you should be able to check the `error` block (with an `if` block or a `test` block) that any of the Spreadsheet ‘get’ blocks provide.

---

<div class="post-metadata">

**Author:** ![simsonpeter](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@simsonpeter](https://community.thunkable.com/u/simsonpeter)\
**Post date:** [August 10, 2018, 1:05am UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/7 "2018-08-10T01:05:27Z")

</div>

thank you

---

<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, 12:00pm UTC](https://community.thunkable.com/t/how-to-remove-undefined/40103/8 "2024-11-08T12:00:51Z")

</div>


