# Send user to top of screen with action

**URL:** <https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483>\
**Category:** Ask for Help\
**Created:** [December 7, 2020, 7:38am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483 "2020-12-07T07:38:53Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:09am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/61 "2020-12-10T08:09:37Z")

</div>

You want to go to top of 1st page with same questions just cleared?

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [December 10, 2020, 8:10am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/62 "2020-12-10T08:10:09Z")

</div>

Who’s laughing now @Darren_Murphy 🤪 🤪 🤪 Welcome to my world! Happy to pass the revolver - just let me know.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 8:11am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/63 "2020-12-10T08:11:03Z")

</div>

> [@Drearystate](#):
>
> You want to go to top of 1st page with same questions just cleared?

Yes!!!

> [@Darren\_Murphy](#):
>
> I’d have to think about this… and I’m not sure that it gets any closer to solving my original problem, which boils down to “how do I reset all the choice components and send the user back to the top of the screen?”

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:11am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/64 "2020-12-10T08:11:50Z")

</div>

So there is no 2nd page whatsoever? Your video made this more comfusing with that second page…ok one sec…

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 8:12am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/65 "2020-12-10T08:12:07Z")

</div>

> [@V88](#):
>
> Who’s laughing now @Darren_Murphy 🤪 🤪 🤪 Welcome to my world! Happy to pass the revolver - just let me know.

Get back in your box! 😛 🤣

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [December 10, 2020, 8:13am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/66 "2020-12-10T08:13:38Z")

</div>

They’ve only just let me out!

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 8:14am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/67 "2020-12-10T08:14:02Z")

</div>

> [@Drearystate](#):
>
> So there is no 2nd page whatsoever? Your video made this more comfusing with that second page…ok one sec…

It did occur to me that those ‘Screen One’ and ‘Screen Two’ labels were potentially misleading. But I thought I’d made it clear already that all of this was happening on a single screen.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:16am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/68 "2020-12-10T08:16:06Z")

</div>

Earlier today you did, but after I got home and spent some time away from it I saw the videos and I was like…wtf…ok, why didnt he… but thats ok,  
Is the assessment the default home page?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 8:17am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/69 "2020-12-10T08:17:38Z")

</div>

Sorry, that was my bad. I should have made the effort to redo the video with better labels.  
It’s just a standalone page at the moment. I’ll find somewhere to put it later.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:23am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/70 "2020-12-10T08:23:08Z")

</div>

No worries, I’m redoing it right now

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:36am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/71 "2020-12-10T08:36:02Z")

</div>

So when you did the visibility, I saw what your screen did, but explain to me how you went about making them invisible in steps.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:45am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/72 "2020-12-10T08:45:59Z")

</div>

Ok, here you go… I didnt finish but maybe 15 of the questions this time. But using an arrayformula on the answer sheet to determine a static true false option worked for easy reset and didnt glitch back like yours did.

> **[MULTIPLE CHOICE TEST](https://billowing-love-4279.glideapp.io/)**

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 8:47am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/73 "2020-12-10T08:47:01Z")

</div>

Okay, having a look…

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 8:47am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/74 "2020-12-10T08:47:27Z")

</div>

You need to be logged in. Then for the rest of the questions just duplicate the bottom one and change its destination and question, shouldnt take but 15 minutes.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 9:08am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/75 "2020-12-10T09:08:24Z")

</div>

How’s it working out?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 9:22am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/76 "2020-12-10T09:22:18Z")

</div>

> [@Drearystate](#):
>
> You need to be logged in. Then for the rest of the questions just duplicate the bottom one and change its destination and question, shouldnt take but 15 minutes.

Still digesting it.  
It kinda sorta works, maybe…  
Took me a while to figure out that I needed to remove row owners before anything would work at all (that’s a problem).  
Even with row owners removed, no data is being written to any sheets (yes, I’m logged in).  
I can see what you’re doing with the “Top of Screen” and component visibility. This seems to work okay in the builder, but doesn’t work at all when I test with my iPhone.  
Not sure I’m a fan of that arrayformula idea in the sheet, though - doesn’t that just introduce a delay?

Did you see how I setup the component visibility in my original solution?

> [@Darren\_Murphy](#):
>
> - Created a user specific column (number type) to use as a toggle
> - Initial state of that column is empty, so I set the visibility of _all_ components to _only_ show when that value is empty
> - Then in the action sequence, the very first thing I do is increment that column (and everything on the screen disappears)
> - Then the other actions in the sequence; add row, set columns, notification, etc
> - And then finally, I do a set columns → clear contents on the toggle column, and all components are back and we’ve been sent to the top of the screen.

I think that’s a better way to do it, no? (keeps everything in Glide, without have to wait for any sync)

Anyway… we seem to be so far down the rabbit hole now, I’m not sure that I can ever find my way out.  
I’ll spend some more time looking at your option tonight.  
Thanks again for your help, I really do appreciate it.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 9:23am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/77 "2020-12-10T09:23:11Z")

</div>

No, it does. You need to access the app from outside of the glide editor and log into it.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/2/62b53ac7f9614f7feb13ce844a3d92d6999f350e.png)

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 9:26am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/78 "2020-12-10T09:26:01Z")

</div>

[![]( " - YouTube") ](https://www.youtube.com/watch?v=pZ2Jfk57Io8)

Heres me accessing it, it storing the data and reseting the sheet.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/96552_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 10, 2020, 9:26am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/79 "2020-12-10T09:26:24Z")

</div>

That looks like your copy.  
When I made my own copy and tried, it didn’t work (and yes, I tried with my phone and logged in).  
Anyway, that’s tangential to the main issue, so I’m not really concerned about that.

I just need to figure out whether your approach is likely to solve my original problem.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 10, 2020, 9:27am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/80 "2020-12-10T09:27:20Z")

</div>

It stores the data, it goesback to top of page, it resets all data, all data is linked together…

[Previous page](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483.md?page=3)

[Next page](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483.md?page=5)
