# Need Cancel Button

**URL:** <https://community.glideapps.com/t/need-cancel-button/43894>\
**Category:** Ask for Help\
**Created:** [July 5, 2022, 6:19am UTC](https://community.glideapps.com/t/need-cancel-button/43894 "2022-07-05T06:19:30Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 5, 2022, 7:04am UTC](https://community.glideapps.com/t/need-cancel-button/43894/21 "2022-07-05T07:04:37Z")

</div>

> [@biha](#):
>
> The remaining machine are 1, 3. If they want to change the machine they can only choose either 1 or 3. No machine 2 in the list. So, if they accidently chose 1, cannot back to 2 unless click Done (at choice component ) and cancel the entire edit form .

Okay, I understand. Can you show me how the choice component is configured, including the filter condition?

It might be that you need to switch to a custom form to get what you want.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [July 5, 2022, 7:06am UTC](https://community.glideapps.com/t/need-cancel-button/43894/22 "2022-07-05T07:06:36Z")

</div>

unless you are trying to do, pick the item… and item become unavailable while you entering data?

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 5, 2022, 7:06am UTC](https://community.glideapps.com/t/need-cancel-button/43894/23 "2022-07-05T07:06:37Z")

</div>

This what you mean @Darren_Murphy ?

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/c/ac43c9645bc869e19840f403cba0bbbf392c426d.png)

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 5, 2022, 7:09am UTC](https://community.glideapps.com/t/need-cancel-button/43894/24 "2022-07-05T07:09:04Z")

</div>

> [@Darren\_Murphy](#):
>
> It might be that you need to switch to a custom form to get what you want.

Do you mean i need to go to other screen in order to choose the ID ?

@Uzo , item is not listed because of the status is not available…

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [July 5, 2022, 7:15am UTC](https://community.glideapps.com/t/need-cancel-button/43894/25 "2022-07-05T07:15:34Z")

</div>

we are missing something…  
if the item is unavailable, why does it goes there?

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 5, 2022, 7:21am UTC](https://community.glideapps.com/t/need-cancel-button/43894/26 "2022-07-05T07:21:43Z")

</div>

Ok,  
now we have Machine 1, 2 and 3 . Let say all are available now.  
User choose Machine 2 now. Ok done. Only Machine 1 and 3 left. Machine 2 unavailable.  
Next what happen, they need to change from Machine 2 in any other machines.  
They go to the details (as image at first), edit and to choose the Machine either 1 or 3. The list is only showing the 1 and 3…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 5, 2022, 7:23am UTC](https://community.glideapps.com/t/need-cancel-button/43894/27 "2022-07-05T07:23:58Z")

</div>

biha, try this…

- Let’s say you start with 1,2,3
- Choose 2, then click done.
- Now open the choice again, and you see only 1 & 3, right?
- This time choose the dash (`-`), then click done
- Now open the choice again - what do you see?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [July 5, 2022, 7:27am UTC](https://community.glideapps.com/t/need-cancel-button/43894/28 "2022-07-05T07:27:48Z")

</div>

if they need to change, then the whole process needs to be cancel, so all machines will be available again… I think your data structure is wrong… that’s why you cant get simple solutions

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 5, 2022, 7:30am UTC](https://community.glideapps.com/t/need-cancel-button/43894/29 "2022-07-05T07:30:16Z")

</div>

Its clearing the cell, Darren. But @Darren_Murphy , i think i have an idea from yours.

> [@Darren\_Murphy](#):
>
> It might be that you need to switch to a custom form to get what you want.

Yes @Uzo , thats what i need to prevent… 🙂

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [July 5, 2022, 7:32am UTC](https://community.glideapps.com/t/need-cancel-button/43894/30 "2022-07-05T07:32:31Z")

</div>

if you need my deep solutions… just Zoom me and let me see

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 5, 2022, 7:33am UTC](https://community.glideapps.com/t/need-cancel-button/43894/31 "2022-07-05T07:33:33Z")

</div>

Okay thanks @Uzo for your advice

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 5, 2022, 11:42am UTC](https://community.glideapps.com/t/need-cancel-button/43894/32 "2022-07-05T11:42:54Z")

</div>

Just thinking out loud here, but would it be possible to add an OR condition to your filter to check if the machine name equals the selected machine name. So the choice should show available machines OR the currently selected machine.

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 6, 2022, 1:31am UTC](https://community.glideapps.com/t/need-cancel-button/43894/33 "2022-07-06T01:31:47Z")

</div>

Hmmm but the moment we choose Machine 3 (currently Machine 2), the condition that met is Machine 3 right? Machine 3 now hold the cell.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 6, 2022, 2:13am UTC](https://community.glideapps.com/t/need-cancel-button/43894/34 "2022-07-06T02:13:43Z")

</div>

Not completely sure. I would have to play around with the idea to be sure either way, but yeah, I think I get what you are saying. I’m not sure if it would be a difference between using screen values vs column values. Or, possibly you could create a template column that duplicates the selected machine value, and then use the template value in your filter. Hopefully the template value would stick until the form is submitted, so if you change the chosen machine, the template column would still hold the original chosen machine and allow the filter to work.

---

<div class="post-metadata">

**Author:** ![biha](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/biha/32/84110_2.png) [@biha](https://community.glideapps.com/u/biha)\
**Post date:** [July 6, 2022, 2:28am UTC](https://community.glideapps.com/t/need-cancel-button/43894/35 "2022-07-06T02:28:31Z")

</div>

> [@Jeff\_Hager](#):
>
> possibly you could create a template column that duplicates the selected machine value, and then use the template value in your filter.

I just tried this.  
The template column copy even before we click “Done”. But i got an idea from your statement ! Instead we use template column, we can use normal text column that hold temporary the Machine Number, if confirm to change need to set column to the main column of ID , and if “Cancel” just clear the temporary column.

Thanks for your advice.

[Previous page](https://community.glideapps.com/t/need-cancel-button/43894.md?page=1)
