# Live Test and Preview go blank when I click on a button with text inputs

**URL:** <https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, beginner\
**Created:** [June 14, 2021, 12:43pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255 "2021-06-14T12:43:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueway](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/blueway/32/108164_2.png) [@blueway](https://community.thunkable.com/u/blueway)\
**Post date:** [June 14, 2021, 12:43pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/1 "2021-06-14T12:43:45Z")

</div>

The Live Test and Preview go blank when I click on a button, which is associated with text inputs that, if empty, should display hint, and if not empty should navigate the user to the next screen

[https://x.thunkable.com/projects/60c744da3a3ab700c04b9954/2d285acc-a96d-4808-a979-fad1ef45793d/designer](https://x.thunkable.com/projects/60c744da3a3ab700c04b9954/2d285acc-a96d-4808-a979-fad1ef45793d/designer)

Here is the link of the app that is having issues. My coding batchmate and teacher too are having the same problem. 🙄

---

<div class="post-metadata">

**Author:** ![cherryblossoms](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cherryblossoms/32/122021_2.png) [@cherryblossoms](https://community.thunkable.com/u/cherryblossoms)\
**Post date:** [June 14, 2021, 2:21pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/2 "2021-06-14T14:21:04Z")

</div>

Hey @blueway!

You’ve used **empty strings** in the **if and else if** blocks in **screen1** right? Just change them into **null** blocks. That does the trick.

 ![Screenshot (212)_LI](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/4/94413b5de5966244ab4029e2e659cf7bbc71ffe0.jpeg)

Also, are you a student from Whitehat jr?

---

<div class="post-metadata">

**Author:** ![shrey](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shrey/32/105637_2.png) [@shrey](https://community.thunkable.com/u/shrey)\
**Post date:** [June 14, 2021, 3:13pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/3 "2021-06-14T15:13:10Z")

</div>

@mesmerizer_aish I am a student from Whitehat jr too, and I’ve done this project too. So he is a whitehat jr student

---

<div class="post-metadata">

**Author:** ![cherryblossoms](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cherryblossoms/32/122021_2.png) [@cherryblossoms](https://community.thunkable.com/u/cherryblossoms)\
**Post date:** [June 14, 2021, 3:19pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/4 "2021-06-14T15:19:52Z")

</div>

> [@shrey](#):
>
> I am a student from Whitehat jr too, and I’ve done this project too.

Me too! It looked kinda familiar. That is why I asked her if she/he too was from there.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 14, 2021, 3:20pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/5 "2021-06-14T15:20:46Z")

</div>

Your suggestion could be a solution but the `Text_Input` is a `Text` field and is better treated with blocks from the text drawer.

Check this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/9/49a6bc81c5be8b0f2470fcb243704d553c8046bb.png)

---

<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:** [June 14, 2021, 3:33pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/6 "2021-06-14T15:33:39Z")

</div>

Your topic title should always be a **short** summary (just a few words) rather than the full text of your question/issue. I’ve edited this one but please keep that in mind next time.

---

<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, 1:20pm UTC](https://community.thunkable.com/t/live-test-and-preview-go-blank-when-i-click-on-a-button-with-text-inputs/1344255/7 "2024-11-08T13:20:17Z")

</div>


