# Alert Usage what is the value to be given for Cancel and Confirm buttons

**URL:** <https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284>\
**Category:** Questions about Thunkable X\
**Created:** [December 23, 2022, 10:37pm UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284 "2022-12-23T22:37:15Z")\
**Posts on this page:** 6\
**Page:** 1

<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 23, 2022, 10:37pm UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/1 "2022-12-23T22:37:15Z")

</div>

[https://x.thunkable.com/copy/c12f954166058e417796661dfde90998](https://x.thunkable.com/copy/c12f954166058e417796661dfde90998)  
If some one can kindly show me what blocks does a Cancel and Confirm take to enable them that would be awesome. I have tried text, logical and math none of them worked.  
Alert1 sheet I have left it empty plan to fill it on the fly.  
thanks  
ananda

---

<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:** [December 23, 2022, 10:43pm UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/2 "2022-12-23T22:43:14Z")

</div>

Hey @anandavardhana57zwwl, the Alert’s Cancel and Confirm blocks are to set the **text** of the buttons. The button(s) will show up if you specify a **text** to display.

---

<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:** [December 23, 2022, 11:46pm UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/3 "2022-12-23T23:46:53Z")

</div>

Here’s a demo that will show you how to set up an alert:

[https://x.thunkable.com/copy/af84158d45d11dca68dd4e8b01651cb0](https://x.thunkable.com/copy/af84158d45d11dca68dd4e8b01651cb0)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/69d8e8a95ea7276f6821d87d9ab2bb39a28458d7.png)

---

<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 23, 2022, 11:58pm UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/4 "2022-12-23T23:58:53Z")

</div>

Wow!! I would have never imagined it this out quite complicated and involved. Just superb solution!! Thanks a lot Tatiang. You made my day and merry Christmas for you. You might recall, on your recommendation I have filed a bug report about the Inadequacy of the Thunkable documentation for Alert. I am going to give this as an example. Whew thanks.

---

<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:** [December 24, 2022, 12:08am UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/5 "2022-12-24T00:08:03Z")

</div>

You’re welcome! Alerts should be simpler in my opinion. It took me a while to understand them.

It would be great to have the standard `call Alert's Show` block have two inputs: confirm button text and cancel button text (both text strings) and either an extra output in addition to wasConfirmed or a single output called button pressed (a text string).

---

<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:** [March 24, 2023, 12:08am UTC](https://community.thunkable.com/t/alert-usage-what-is-the-value-to-be-given-for-cancel-and-confirm-buttons/2190284/6 "2023-03-24T00:08:09Z")

</div>

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