# 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:** 3

<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, 6:50am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/41 "2020-12-10T06:50:57Z")

</div>

no problem.  
btw, I do appreciate you trying to help with this.  
If some of my responses seem a bit terse, please don’t take them the wrong way.  
I’m just trying to relate the facts as clearly as I can.

---

<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, 6:51am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/42 "2020-12-10T06:51:25Z")

</div>

No worries, I know how frustrating the lack of features can be 🙂

---

<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, 7:01am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/43 "2020-12-10T07:01:44Z")

</div>

How many questions did you have in that assessment?The row you are creating I’m guessing resides in another sheet, and you use it to reference in the future to compare with current results to gauge a difference in personality an behaviour?

---

<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, 7:15am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/44 "2020-12-10T07:15:47Z")

</div>

Yes, correct.  
The choices are in one sheet - just two rows, used purely for populating the choice components.  
The responses are collected in a second sheet (this can and will have multiple rows per user).  
And there will be a 3rd sheet that contains a summary of the responses (one row per user).

The 3rd sheet will be populated by scripts that process the data collected in the 2nd sheet.

---

<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, 7:19am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/45 "2020-12-10T07:19:53Z")

</div>

You know, I have a degree in psychology and my previous job was a cosultant for restaurants. I built quite a few personality evaluations in my time. We always computed and came up wth the personality profile and stored the data in an alphanumeric fassion. the intention was so no one could understand the data, it was evaluated on the spot and saved time. I’m unsure if this is what your getting at but I do think values being assigned to the answers immediately in a answer sheet would be more effective than a script and more secure, not to mention save space.

---

<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, 7:24am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/46 "2020-12-10T07:24:49Z")

</div>

Yes, I understand what you are getting at.  
If I was using a proper relational database the only “text” values would live in lookup tables.  
I expect that I’m going to have to refactor at some point to make it more like that (especially as I’ll eventually need to support multiple languages). And I also expect there will be more than one iteration.  
But right now I’m just trying to get to a proof of concept stage.

---

<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, 7:26am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/47 "2020-12-10T07:26:52Z")

</div>

Ok, so I built out 50 of the 65 questions I saw, and if your storing them in the user dedicated row, your submit button just needs to link to the same answer page and change title. The previous data will remain in the row. When your done, with every single question then a real submit button creates a row with all the answers on the other page, then it clears these, then go to home page or whatever page you want it to go to.

---

<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, 7:43am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/48 "2020-12-10T07:43:49Z")

</div>

Are you suggesting that I skip the user-specific columns for temporary storage and just write directly to the sheet?

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?”

The original solution that you gave me _did_ solve that problem. It’s just that because of the way Glide behaved (race conditions, actions tripping over each other, whatever…), it resulted in a poor user experience.

I know that a very simple solution to this is just to bite the bullet and perform the two steps on two separate screens. I originally tried to avoid that as it seemed like unnecessary duplication of effort - and I felt that there should have been a more elegant way to do it. Maybe there isn’t… yet

---

<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, 7:47am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/49 "2020-12-10T07:47:17Z")

</div>

Well…  
Here you go. From what I could see I recreated your assessment and perfomed the actions you needed as well as created every relationship between the sheets that you will need to pull any of that data sir 🙂

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

---

<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, 7:48am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/50 "2020-12-10T07:48:57Z")

</div>

You will of course have to change those images, but I just needed some sort of place holder.

---

<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, 7:49am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/51 "2020-12-10T07:49:50Z")

</div>

Looking…

---

<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, 7:51am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/52 "2020-12-10T07:51:18Z")

</div>

U will need to turn on logins for users, or create users, however you were going to do that. I didn’t see the signup page so I figured leave that to you.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [December 10, 2020, 7:54am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/53 "2020-12-10T07:54:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/9/29ba55058709ff47012a6bd863be5e76619c0804.jpeg)

---

<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, 7:55am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/54 "2020-12-10T07:55:16Z")

</div>

> [@Drearystate](#):
>
> Well…  
> Here you go. From what I could see I recreated your assessment and perfomed the actions you needed as well as created every relationship between the sheets that you will need to pull any of that data sir

yeah, the main problem I see with that is that it doesn’t reset the choices after the first pass.  
So, for example, if I just select a couple and then submit, I see something like this on the 2nd page:

 ![Screen Shot 2020-12-10 at 3.52.29 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/0/606a164382af43cecb4c719343146c3bc249c1d2.jpeg)

The 2nd page should appear in a “pristine” state, with all choices cleared.

---

<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, 7:55am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/55 "2020-12-10T07:55:55Z")

</div>

They are…I just didnt write those choices out. I got as far as #66 of your questions and stop filling them out. Look at the sheets, I just didnt add those choices just yet or they would be pristine untouched.

---

<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, 7:57am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/56 "2020-12-10T07:57:31Z")

</div>

Okay, I’ll have a closer 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, 7:58am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/57 "2020-12-10T07:58:04Z")

</div>

Thats why I asked for a copy of your sheets so I could enter all the data for you. But i used screenshots to get the 66 i have listed…

---

<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:03am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/58 "2020-12-10T08:03:36Z")

</div>

Unless I’m missing something, all you are doing there is linking back to the same sheet.  
Which is precisely what I’ve been trying to avoid this whole time 🤣

---

<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:03am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/59 "2020-12-10T08:03:49Z")

</div>

But why? That’s the best and cleanest way to do it and you save steps.

---

<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:08am UTC](https://community.glideapps.com/t/send-user-to-top-of-screen-with-action/19483/60 "2020-12-10T08:08:53Z")

</div>

> [@Darren\_Murphy](#):
>
> I know that a very simple solution to this is just to bite the bullet and perform the two steps on two separate screens. I originally tried to avoid that as it seemed like unnecessary duplication of effort - and I felt that there should have been a more elegant way to do it. Maybe there isn’t… yet

Basically because I’m lazy, and I hate duplication of effort.  
Remember - the exact same set of 66 choices appears for both stages.  
So if I do it it the ‘link to screen’ way, I need to configure all of those _twice_.  
That’s an awful lot of clicks.  
But of course, I could have done it a dozen times over by now 🤣 🤣 🤣

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

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