# Is There a way to autofill a filter dropdown based on breadcrumbs (meaning what the user has clicked on in the previous page)?

**URL:** <https://community.glideapps.com/t/is-there-a-way-to-autofill-a-filter-dropdown-based-on-breadcrumbs-meaning-what-the-user-has-clicked-on-in-the-previous-page/71997>\
**Category:** Ask for Help\
**Created:** [March 24, 2024, 5:05pm UTC](https://community.glideapps.com/t/is-there-a-way-to-autofill-a-filter-dropdown-based-on-breadcrumbs-meaning-what-the-user-has-clicked-on-in-the-previous-page/71997 "2024-03-24T17:05:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anas\_Bel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anas_bel/32/72629_2.png) [@Anas\_Bel](https://community.glideapps.com/u/Anas_Bel)\
**Post date:** [March 24, 2024, 5:05pm UTC](https://community.glideapps.com/t/is-there-a-way-to-autofill-a-filter-dropdown-based-on-breadcrumbs-meaning-what-the-user-has-clicked-on-in-the-previous-page/71997/1 "2024-03-24T17:05:08Z")

</div>

I I’m working on a project where users navigate through different pages, and I want to provide a seamless experience by autofilling a filter dropdown with relevant options based on what the user has clicked on in the previous page.

I’m looking for a solution to temporarily store the data of what the user has clicked on so that I can access it in the next screen. I’m envisioning something similar to custom states in Bubble for those of you who are familiar. Is there a method or workaround to achieve this within the Glide platform? Any insights or suggestions would be greatly appreciated! Thank you!"

---

<div class="post-metadata">

**Author:** ![ainulfi3](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ainulfi3/32/64496_2.png) [@ainulfi3](https://community.glideapps.com/u/ainulfi3)\
**Post date:** [March 24, 2024, 5:37pm UTC](https://community.glideapps.com/t/is-there-a-way-to-autofill-a-filter-dropdown-based-on-breadcrumbs-meaning-what-the-user-has-clicked-on-in-the-previous-page/71997/2 "2024-03-24T17:37:40Z")

</div>

use a filter data option. Here’s what i did to my E-commerce concept app.

1. create 2 table for Main Category and Sub-Category  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/d/9d67ac4452beef8e402bdafb6949f349833c168a.png)

2. In Sub-Category table, I have a list of Sub-categories and Main Category column  

3. In Main Category Table, I have a list of main category column, as well as relation column to Sub-category table  

4. in layout form, I put 2 choice component for Main category(source will be Main category table) & Sub-Category (Source is sub-category table), turning off component for 2nd category until Main category has been chosen.

5. Once Main category has been chosen by user, Sub-Category component will appear, this is where I use “Filter Data” option for this component where Main category (of Sub-category table) is the same as what User has chosen On-Screen in the 1st choice component. the 2nd choice component (Sub-category) only shows a list of categories based on Main category.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/9/397a370f2cb1e6f5e65d5390dfd0d8849d829727.png)

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

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/d/1d2d68d9c92423f85b8817741e70b13f7ead7a3e.png)

---

<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:** [March 25, 2024, 12:20am UTC](https://community.glideapps.com/t/is-there-a-way-to-autofill-a-filter-dropdown-based-on-breadcrumbs-meaning-what-the-user-has-clicked-on-in-the-previous-page/71997/3 "2024-03-25T00:20:34Z")

</div>

> [@Anas\_Bel](#):
>
> I’m looking for a solution to temporarily store the data of what the user has clicked on so that I can access it in the next screen

On the way to your “last” screen, you can use a set column action in tandem with your action to open the item to set a value to the User Profiles row.

Use those values accordingly in your choice component,
