How to remove undefined

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?

use the notifier for the no internet

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


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.

Thanks a lot ACTECH. it works

@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.

thank you