# Forced to go through "submit" button

**URL:** <https://community.glideapps.com/t/forced-to-go-through-submit-button/77755>\
**Category:** Ask for Help\
**Created:** [November 8, 2024, 12:47pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755 "2024-11-08T12:47:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathieu5555](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mathieu5555/32/81742_2.png) [@Mathieu5555](https://community.glideapps.com/u/Mathieu5555)\
**Post date:** [November 8, 2024, 12:47pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/1 "2024-11-08T12:47:38Z")

</div>

In a medication inventory management application for my practice, the “submit” button conflicts with a button I created to update the inventory. So to fulfill its function, I must first press the “submit” button (to validate?), then come back and press the “stock update” button. How can I validate my operation without having to go through the “submit” button?

 ![Capture d’écran 2024-11-08 à 13.47.04](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/b/2bbf8add8ebadfe0fd68c09a489113d998faeae0.png)

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [November 8, 2024, 12:51pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/2 "2024-11-08T12:51:24Z")

</div>

If I were you I’d keep updates via an edit screen and adds via a form screen separate. It’s safer to keep things separate.

---

<div class="post-metadata">

**Author:** ![Mathieu5555](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mathieu5555/32/81742_2.png) [@Mathieu5555](https://community.glideapps.com/u/Mathieu5555)\
**Post date:** [November 8, 2024, 12:57pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/3 "2024-11-08T12:57:21Z")

</div>

![Capture d’écran 2024-11-08 à 13.55.12](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/3/e3880f95a1178731afb89ffd5adc7957369748ce.png)  
 ![Capture d’écran 2024-11-08 à 13.55.31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/3/234ea5814af088eb2113fdb7f167f4f1b9e43f3f.png)

But i already have a edit screen and a form screen.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [November 8, 2024, 1:37pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/4 "2024-11-08T13:37:35Z")

</div>

Would you be okay with removing the button “Stock update” from the edit screen?

---

<div class="post-metadata">

**Author:** ![Mathieu5555](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mathieu5555/32/81742_2.png) [@Mathieu5555](https://community.glideapps.com/u/Mathieu5555)\
**Post date:** [November 8, 2024, 2:46pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/5 "2024-11-08T14:46:15Z")

</div>

Thanks for your answer.  
I thought about removing “Stock Update” button and only use submit button (with Data \>\> Set colums Value) but i would like add an action (open an pop up screen when the stock value is “0” to purpose erase item) and for that, i need a button. I can’t do it with “submit” button.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [November 8, 2024, 3:27pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/6 "2024-11-08T15:27:22Z")

</div>

I don’t understand exactly what you want to do, but I recommend you keep things simple: don’t add an extra button inside an add or edit screen. Just don’t. On the add or edit screens, include entry fields, if need be a few titles and images, and that’s it. You’ll stay out of trouble that way.

---

<div class="post-metadata">

**Author:** ![Mathieu5555](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mathieu5555/32/81742_2.png) [@Mathieu5555](https://community.glideapps.com/u/Mathieu5555)\
**Post date:** [November 8, 2024, 3:38pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/7 "2024-11-08T15:38:07Z")

</div>

Thanks again.  
My project is simple. I have an Excel sheet that contains all of my medications (I work in a medical office).  
I want to create an application that does 3 things:

- Update the stock after indicating the number of medications taken.
- Suggest deleting the item when there are no more medications.
- Send me a notification when the expiration date has passed.

That’s all.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [November 8, 2024, 3:57pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/8 "2024-11-08T15:57:20Z")

</div>

> [@Mathieu5555](#):
>
> Update the stock after indicating the number of medications taken.

Edit screen

> [@Mathieu5555](#):
>
> Suggest deleting the item when there are no more medications

Collection item actions with a condition “if stock = 0”.

> [@Mathieu5555](#):
>
> Send me a notification when the expiration date has passed

You can add a hint text component. For a true push notification on your phone, you’ll need to wait until the workflow features is released in November or December, and you’ll need to be on a plan that allows you to use that feature.

---

<div class="post-metadata">

**Author:** ![Mathieu5555](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mathieu5555/32/81742_2.png) [@Mathieu5555](https://community.glideapps.com/u/Mathieu5555)\
**Post date:** [November 8, 2024, 4:10pm UTC](https://community.glideapps.com/t/forced-to-go-through-submit-button/77755/9 "2024-11-08T16:10:43Z")

</div>

You just helped me a lot.  
A sincere and big thank you for your time and patience.

Mathieu.
