How to grab the higher level hierarchy from search input and list return


Here’s my Firebase DB

I have an input search box with a list result.
As I search in the input it auto updates the list appropriately.
Here’s my blocks…

I want to click on one of the items from the list, and when I do, I want to identify which year the movie is based on the Firebase DB.

Thanks for the help guys

1 Like

You will require an extra list to be alongside the movie title list.

Every time you insert a movie title in onoff list you need to insert “category j1” (which is the year) in another list.

Then when the user clicks on any item in the list viewer showing movie titles you will use the index from the “item click” block to get the year from the other list.

2 Likes