# How to retrieve data from previous screens?

**URL:** https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938
**Category:** Ask for Help
**Created:** [June 19, 2023, 7:54pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938 "2023-06-19T19:54:43Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![kevinconseil](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kevinconseil](https://community.glideapps.com/u/kevinconseil)
#### Post date: [June 19, 2023, 7:54pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/1 "2023-06-19T19:54:43Z")

</div>

Hi Everyone,

I have created 3 screens which cascade from one to another and i d like to retrieve the data from the 3 screens at the end of it.

Example:  
Screen 1: User select the type of clothes. Action: Go to new screen “Fabric”  
Screen 2: User select the type of fabrics. Action: Go to new screen “Size”  
Screen 3: User select the size. Action: Push the data selected in the screen 1, 2 & 3 to a table

I m failing on the action in screen 3.

Happy to hear some solution 🙂

Kevin

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 19, 2023, 11:28pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/2 "2023-06-19T23:28:01Z")

</div>

Theoretically, you can use a set column action to the user profiles row, then on screen 3 you push those column values to the destination table.

But is there a reason you don’t use a form right at the start with choice components? Is it for navigation purposes? Please beware that the set column method above would eat a lot into your updates quota.

Maybe you can add a logic branch in your actions. Say when the user navigates from screen 1 to 2, if the rowID of screen 2 is the same as the “chosen fabric ID” value in the user profiles row, then just navigate to the screen and don’t do a further set column.

---

<div class="post-metadata">

### Author: ![kevinconseil](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kevinconseil](https://community.glideapps.com/u/kevinconseil)
#### Post date: [June 20, 2023, 7:07am UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/3 "2023-06-20T07:07:46Z")

</div>

Thanks for your reply ThinDinh,

I tried to add a Card Collection within my Form Container but somehow it dos not “select” the image and does not enable me to “validate” the first screen of the form.

What is happening: Joining 3 screenshots (1: I click on “Trouser”, 2: I arrive on the detail page of “Trouser”, 3: Validate button is not “clickable”)  
What i would like: (1: I click on “Trouser”, 2: I move to the Fabric screen)

@ThinhDinh I checked couple of free templates to see if one could fit what i want to do, but did not find anything. Would you mind sharing with me a free template that do what you explained in your earlier post (with the form)?

As a reminder here what I want is to:

- Screen 1: User click on the type of Clothes. Action: Go to new screen “Fabric”
- Screen 2: User click on the type of Fabric. Action: Go to new screen “Size”
- Screen 3: User click on specific size. Action: Push the data selected in the screen 1, 2 & 3 to a table

Best,  
Kevin

 ![Capture1.PNG](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/2/22a52b62ababfa39cff594e0ab2526a94d7d90eb.jpeg)  
 ![Capture2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/7/d76126da5b68d287fc892b477e5a8fbd5dfe3af1.png)  
 ![Capture3.PNG](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a599d5aa45a73b3850ad14d079756c958cbf9afe.jpeg)

---

<div class="post-metadata">

### Author: ![kevinconseil](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kevinconseil](https://community.glideapps.com/u/kevinconseil)
#### Post date: [June 20, 2023, 4:44pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/4 "2023-06-20T16:44:36Z")

</div>

Update:

- I was able to create a form and indeed the data flow as wanted
- However I d like to have:

1. Only pictures in the options available (at the moment the pictures are too small)
2. One container per screen
3. No “submit” button, ideally the action is done when clicking on the image

Any ideas?  
Kevin

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/9/791a2d5c3dda9cd8bae1e4f6185e09ba50781852.png)

---

<div class="post-metadata">

### Author: ![Tamara\_Didenko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tamara_didenko/32/42215_2.png) [@Tamara\_Didenko](https://community.glideapps.com/u/Tamara_Didenko)
#### Post date: [June 20, 2023, 8:36pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/5 "2023-06-20T20:36:49Z")

</div>

Is this similar to the experience you were looking for? It’s not super straightforward, but I was able to create it with another helper table. It’s not doing “pages” but I have assumed that you were going for the progressive disclosure here? Let me know if you’d like me to talk you through it

![CleanShot 2023-06-20 at 13.33.24](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/3/935fe6d396056f25f989bd0c31ea9917658b4052.gif)

> [@ThinhDinh](#):
>
> Theoretically, you can use a set column action to the user profiles row, then on screen 3 you push those column values to the destination table.
> 
> Please beware that the set column method above would eat a lot into your updates quota.

Just curious, why would it be eating into the updates quota? Is there something about putting data into user account that uses updates? Or is your assumption that Kevin is working off of the Google Sheets/external sheet source?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 20, 2023, 10:57pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/6 "2023-06-20T22:57:36Z")

</div>

Hi Tamara, each set column would mean an update.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 20, 2023, 11:02pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/7 "2023-06-20T23:02:40Z")

</div>

You’re using a form there, so it won’t eat into your updates count because nothing is actually written until the row is submitted, but I thought again and would like to ask you if you have this type of structure.

Clothes table contains multiple types of clothes, each type of clothing can be linked with multiple types of fabric.

But in reverse, a type of fabric can also be linked with multiple type of clothes.

The sizes are free for the users to choose and might have no links to the clothes or fabric tables.

Or, say I choose Trouser - Wool - XXL then there might not be a combination for that?

---

<div class="post-metadata">

### Author: ![Tamara\_Didenko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tamara_didenko/32/42215_2.png) [@Tamara\_Didenko](https://community.glideapps.com/u/Tamara_Didenko)
#### Post date: [June 20, 2023, 11:27pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/8 "2023-06-20T23:27:32Z")

</div>

> [@ThinhDinh](#):
>
> Hi Tamara, each set column would mean an update.

Doesn’t seem to be the case for me, that’s why I’m confused 🤔

 ![CleanShot 2023-06-20 at 16.26.47@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/e/eea2bbddbf0a7d737d9adacea1e4b0da51e959e7.png)

And in the prototype I shared above I use “Set column values” 3 times:

1. To set `clothes` in the helper table
2. To set `fabric` in the helper table
3. To set `size` in the helper table

I’ve created 9 orders while testing… So I should have generated at least 27 updates?

---

<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: [June 20, 2023, 11:29pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/9 "2023-06-20T23:29:01Z")

</div>

You don’t incur updates while in the builder.

---

<div class="post-metadata">

### Author: ![Tamara\_Didenko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tamara_didenko/32/42215_2.png) [@Tamara\_Didenko](https://community.glideapps.com/u/Tamara_Didenko)
#### Post date: [June 20, 2023, 11:31pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/10 "2023-06-20T23:31:15Z")

</div>

Ohhhh, that makes more sense, thank you!

---

<div class="post-metadata">

### Author: ![Prasanth\_Thoppe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/prasanth_thoppe/32/57244_2.png) [@Prasanth\_Thoppe](https://community.glideapps.com/u/Prasanth_Thoppe)
#### Post date: [June 21, 2023, 12:23am UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/11 "2023-06-21T00:23:54Z")

</div>

It’s so not fair 😞. Having to consume update quota only to view data. I wish there was a separate table to hold these temp values only for the user session.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 21, 2023, 2:35am UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/12 "2023-06-21T02:35:17Z")

</div>

> [@Prasanth\_Thoppe](#):
>
> Having to consume update quota only to view data.

Well technically that’s because of the way OP wanted to build it. Normal navigation wouldn’t require setting column values.

---

<div class="post-metadata">

### Author: ![kevinconseil](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kevinconseil](https://community.glideapps.com/u/kevinconseil)
#### Post date: [June 21, 2023, 6:41am UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/13 "2023-06-21T06:41:37Z")

</div>

@ThinhDinh Correct the user can select any type of clothes (1 only) then select any type of fabric (1 only) and then any type of size (1 only).

So there are no dependencies between tables, if Joins was the idea you had.

I think in a normal coding environment you would use variable to refer to the previous selected dimension (clothes when selecting the fabric, clothes and fabric when selecting the size).

@Tamara Didenko Yes what you achieved is what i want to do! But then if i understood correctly this will cost me a lot, because i will need to save every actions of the users, right?

Best and thanks for the replies everyone.

Please let me know if you find a way to achieve what i want to do 🙂

Kevin

---

<div class="post-metadata">

### Author: ![Tamara\_Didenko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tamara_didenko/32/42215_2.png) [@Tamara\_Didenko](https://community.glideapps.com/u/Tamara_Didenko)
#### Post date: [June 21, 2023, 5:16pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/14 "2023-06-21T17:16:42Z")

</div>

> [@kevinconseil](#):
>
> @Tamara Didenko Yes what you achieved is what i want to do! But then if i understood correctly this will cost me a lot, because i will need to save every actions of the users, right?

Yes, testing it in a published app yielded 9 updates (8 updates [I forgot about the “Clear value” actions] + 1 add). How many completions of this flow do you expect per month? Depending on your plan this may or may not be a limitation for you.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 21, 2023, 11:48pm UTC](https://community.glideapps.com/t/how-to-retrieve-data-from-previous-screens/62938/15 "2023-06-21T23:48:35Z")

</div>

Yeah, I was kind of thinking if there’s a combination and I can reverse-tracking it to the first level to prevent a huge updates count, but seems like it’s a no.
