# How to let cancel alert button do cancel

**URL:** https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132
**Category:** Questions about Thunkable X
**Created:** [May 12, 2023, 9:13am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132 "2023-05-12T09:13:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![hendrikbez](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hendrikbez](https://community.thunkable.com/u/hendrikbez)
#### Post date: [May 12, 2023, 9:13am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/1 "2023-05-12T09:13:54Z")

</div>

I have a alert button canceled and confirmed, but when i run the app and try to casncel it stilkl add thec data into my google sheet.

 ![Screenshot_88](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/9/49c11a7d14f1b91e759e15050cb914f77bf62eb2.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: [May 12, 2023, 1:39pm UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/2 "2023-05-12T13:39:28Z")

</div>

Yes because the “do” section a the Create Row block happens _after_ the row is created. Instead, put the Create Row block in the “then do” section of the alert. But you’ll need to have an if block that checks if Cancel was clicked (if not wasConfirmed).

---

<div class="post-metadata">

### Author: ![hendrikbez](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hendrikbez](https://community.thunkable.com/u/hendrikbez)
#### Post date: [May 12, 2023, 5:33pm UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/3 "2023-05-12T17:33:20Z")

</div>

I not geting it to work, not sure what to use for the if and else, what am i doing wrong here, what must I use

 ![Screenshot_89](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/c/2c37704ffc1e908ada8cea1ac056fc61161d6a78.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: [May 12, 2023, 9:16pm UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/4 "2023-05-12T21:16:51Z")

</div>

Can you post a link to your project? I can modify it and post an updated link or screenshot with the changes.

---

<div class="post-metadata">

### Author: ![hendrikbez](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hendrikbez](https://community.thunkable.com/u/hendrikbez)
#### Post date: [May 13, 2023, 2:53am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/5 "2023-05-13T02:53:25Z")

</div>

Thank you

screen voegbeskikbaarheidby

[https://x.thunkable.com/projects/643595f8bd34097a08665742/74ae3b39-f62b-4d69-80ad-a2ea7cdf2029/designer](https://x.thunkable.com/projects/643595f8bd34097a08665742/74ae3b39-f62b-4d69-80ad-a2ea7cdf2029/designer)

---

<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: [May 13, 2023, 3:35am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/6 "2023-05-13T03:35:12Z")

</div>

What is the name of the **screen** with the blocks above?

---

<div class="post-metadata">

### Author: ![hendrikbez](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hendrikbez](https://community.thunkable.com/u/hendrikbez)
#### Post date: [May 13, 2023, 3:47am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/7 "2023-05-13T03:47:04Z")

</div>

> [@hendrikbez](#):
>
> voegbeskikbaarheidby

VoegBeskikbaarBy

---

<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: [May 13, 2023, 4:54am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/8 "2023-05-13T04:54:12Z")

</div>

Try this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/2/a27e0cd8e7394d2dbc879f44b117b16c2ac9977e.png)

---

<div class="post-metadata">

### Author: ![hendrikbez](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hendrikbez](https://community.thunkable.com/u/hendrikbez)
#### Post date: [May 13, 2023, 6:16am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/9 "2023-05-13T06:16:33Z")

</div>

Thank you, understand it now

---

<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: [August 11, 2023, 6:17am UTC](https://community.thunkable.com/t/how-to-let-cancel-alert-button-do-cancel/2415132/10 "2023-08-11T06:17:05Z")

</div>

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