# Hide a page if the user does not click on the previous button

**URL:** <https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382>\
**Category:** Ask for Help\
**Created:** [February 23, 2023, 2:40pm UTC](https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382 "2023-02-23T14:40:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valhvl](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/valhvl/32/54817_2.png) [@Valhvl](https://community.glideapps.com/u/Valhvl)\
**Post date:** [February 23, 2023, 2:40pm UTC](https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382/1 "2023-02-23T14:40:49Z")

</div>

Hello, I am making an application for people who work in cleaning.

My issue is the following : The goal is as follows : the operator clicks on the “Start the mission” button, this redirects to the “missions in progress” page. I would like to hide this page which is called “missions in progress” as long as the operator has not clicked on “Start the mission”, I have been looking for a long time and I am really counting on you to help me 🙂

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [February 23, 2023, 5:01pm UTC](https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382/2 "2023-02-23T17:01:10Z")

</div>

Have you tried adding a custom action that includes a Set Column action upon button click, which sets a boolean column to True and then setting the page visibility to only show if the boolean is true?

Should probably make the boolean User Specific unless you’re using the User profile sheet

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 23, 2023, 5:15pm UTC](https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382/3 "2023-02-23T17:15:47Z")

</div>

You could also make the page hidden by checking the box “hide in navigation”. Then, the ONLY way to get to this page would be via a “go to page” action or the deeplink.

---

<div class="post-metadata">

**Author:** ![Jon\_L](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jon_l/32/53227_2.png) [@Jon\_L](https://community.glideapps.com/u/Jon_L)\
**Post date:** [February 24, 2023, 2:27am UTC](https://community.glideapps.com/t/hide-a-page-if-the-user-does-not-click-on-the-previous-button/58382/4 "2023-02-24T02:27:24Z")

</div>

Following on from Joe, that’s kinda how I’ve done it - but I’ve used the User Profile table. I added and extra column, in your case it could be ‘Mission Ready?’, and then I set it to ‘1’ if they click the button using the ‘set column value’ action. You can then set it to go back to zero if you need to at some other point, or after a period of time using some if/then/else logic. Obviously you then need to set your visibility of the page to 'only when Mission Ready? = 1. It’ll always be user specific too!

As an aside, and following on from Robert - you can make it so that the page is hidden, but going further - you can make it so that the button that you said they clicked that redirects them isn’t visible unless they’ve clicked the ‘Start the Mission’ button. Use the same logic as on the page, only apply t to the button - if Mission Ready =0, don’t show the button.
