# Display blank alert with Alert component

**URL:** <https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [November 20, 2020, 7:27am UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662 "2020-11-20T07:27:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nhuttruong95](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nhuttruong95/32/83719_2.png) [@nhuttruong95](https://community.thunkable.com/u/nhuttruong95)\
**Post date:** [November 20, 2020, 7:27am UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/1 "2020-11-20T07:27:39Z")

</div>

Hi Everyone,

I’m use Alert component for my app but i get display problem with it.  
 ![Untitled](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/8/287095b680002bc2376743c4d21240f21ce873d9.png)  
I attach my block.  
in my case: TXT\_Name is empty, TXT\_Số lượng (number of orders) is empty

→ First, i click Button and get blank alert

 ![z2187384697643_40f8f543ffa5274aa9a6255156cdec4d](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/2/d2404e6d9b9f6d4dccddd3487bb706dbafc6862a.png)  
 → Second, i click Button and get alert TXT\_Name is empty **(it’s ok)**, i fill TXT\_Name is Trường  
 → Third, i click Button and get alert TXT\_Name is empty **again**. **(it’s not ok)**  
 → Fourth, i click Button and get alert TXT\_Số lượng (number of orders) is empty **(it’s ok)**, i fill TXT\_Số lượng (number of orders) is 30  
 → Fifth, i click Button and get alert TXT\_Số lượng (number of orders) is empty **again** , **(it’s not ok)**  
and so on

---

<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:** [November 20, 2020, 7:51am UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/2 "2020-11-20T07:51:49Z")

</div>

Your alerts are empty because you are setting the message _after_ the alert is confirmed by the user.

You need to set the message _before_ you do “in Alert1 call Show” (put the “set Message” block above the “in Alert1 call Show” block).

---

<div class="post-metadata">

**Author:** ![nhuttruong95](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nhuttruong95/32/83719_2.png) [@nhuttruong95](https://community.thunkable.com/u/nhuttruong95)\
**Post date:** [November 20, 2020, 8:04am UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/3 "2020-11-20T08:04:58Z")

</div>

Thank Tatiang very much.  
This is solution.

---

<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:** [November 20, 2020, 8:36am UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/4 "2020-11-20T08:36:59Z")

</div>

@jane The [documentation for Alerts](https://docs.thunkable.com/alert) could probably use a little revising. There’s not a good example of using the property blocks (Title, Message, etc.) and the one screenshot that’s provided – while a valid use of blocks – might be a bit misleading.

---

<div class="post-metadata">

**Author:** ![anandavardhana57zwwl](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@anandavardhana57zwwl](https://community.thunkable.com/u/anandavardhana57zwwl)\
**Post date:** [December 20, 2022, 8:18pm UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/5 "2022-12-20T20:18:22Z")

</div>

Thanks Tatiang I was also struggling with this. I am going to file a bug report. As you say the documentation and examples are not adequate.

---

<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:21pm UTC](https://community.thunkable.com/t/display-blank-alert-with-alert-component/986662/6 "2024-11-08T12:21:34Z")

</div>


