# How to control action back from details view?

**URL:** <https://community.glideapps.com/t/how-to-control-action-back-from-details-view/6684>\
**Category:** Ask for Help\
**Created:** [April 9, 2020, 4:26pm UTC](https://community.glideapps.com/t/how-to-control-action-back-from-details-view/6684 "2020-04-09T16:26:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Philippe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jean-philippe/32/4757_2.png) [@Jean-Philippe](https://community.glideapps.com/u/Jean-Philippe)\
**Post date:** [April 9, 2020, 4:26pm UTC](https://community.glideapps.com/t/how-to-control-action-back-from-details-view/6684/1 "2020-04-09T16:26:01Z")

</div>

Here is the case :

From a Tab named “Orders” I land on “Tiles” style view to show quickly all ordered products (components) on 2 columns, that’s fine. Now if I click on a product, I get the Details, that’s fine too.

Here I would like to offer the possibility to modify the order, for instance the Quantity.  
To do that I currently use the “ON/OFF Switch” (which should be “ON” by default, see other thread) to be switched to OFF for entering new value(s).

It works perfect … except that the user has also the possibility to come Back from this screen using “BACK” action (on the top left of the screen) while modification is not yet completed !  
Result is that this make things confusing for the user because Switch is still on OFF position.  
What I would like to do is to forbid this “BACK” action as long as Switch is “OFF”.

I tried to use as alternative the “OK Button", but for a UX point of view it make things too complicated because it generates additional screens and worse I’m also facing other issue (see other thread).

I didn’t find other possibility to modify an order (some values of 1 line of the “Orders” sheet).  
I would appreciate a simple solution, hopping I should not change too much the current design.

---

<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:** [April 10, 2020, 12:59pm UTC](https://community.glideapps.com/t/how-to-control-action-back-from-details-view/6684/2 "2020-04-10T12:59:56Z")

</div>

> [@How to simply modify values in filled Form?](https://community.glideapps.com/t/how-to-simply-modify-values-in-filled-form/6727/2):
>
> Just display the list of orders from your form response sheet somewhere in your app. When viewing the details for each order, you can either turn on editing, so the user can click on the pencil to make changes and submit the changes, or use entry components to allow the user to make changes in real time. [https://docs.glideapps.com/all/guides/quick-starts/getting-started/editing-items](https://docs.glideapps.com/all/guides/quick-starts/getting-started/editing-items)[https://docs.glideapps.com/all/reference/components/input](https://docs.glideapps.com/all/reference/components/input)
