# Linked Lists

With **Linked Lists** you can set a condition in item's details page (**List Details** block) to show entries from another list associated with that item. Let's consider a specific example to make it clear. Let's say you have a **List** block linked to an Airtable table with a list of projects (called "Projects"), as shown below.

![Projects table](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-M_Qhl7UJ84B-uQMETuP%2F-M_QsOcnnMiLxKrr8W5T%2F0_b.png?alt=media\&token=dac73c47-ecb2-4a6d-b2fd-de5947572453)

![List block with projects](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0NiyhsmXAcV5u1c6XK%2F-M_Qhl7UJ84B-uQMETuP%2F-M_QrdLL_Bix4ZHiedRo%2F1_b.png?alt=media\&token=4a18162f-faf1-4d7a-b87b-95cd1950ef5d)

Further on, you have a table with tasks (called "Tasks"), where each task is assigned to one of the projects. It can be a [Lookup field](https://support.airtable.com/hc/en-us/articles/360042312194-Lookup-field-overview) that looks up the **Name** field from the **Projects** table, but it can also be a regular field that contains the names of the projects, as in the example below.

![Table with tasks](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2F2Jc9VwVo6eJn6YHeJGVg%2Ftask-project-b.png?alt=media\&token=8e3f97d0-ebc1-4e28-8764-e7808d0eaa47)

Now, on the project's List Details page, we are going to add another List block connected to the **Tasks** table.

![Task list added to the Project details page](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2F44HH4dN5QcZKfVqu4N61%2Flinked-list-b.png?alt=media\&token=d74806db-dba3-4a89-ac46-f9661f8d1c6c)

As soon as you add the **Tasks** list to the project's details page, you'll see that the **Projects** table's fields will start appearing inside **Conditional Filters** of the **Tasks** list block.

![Projects table inside Task List's conditional filters](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2F9zxkVlnFPgVhQ5Wn9h2T%2Fprojects-in-conditional-b.png?alt=media\&token=eb59f26f-5662-4a0b-8c85-16c3c0bf936b)

Using this, we can now set a condition to filter the **Tasks** list to show only the tasks that are associated with the project that's currently opened in the page. The condition will be set as shown below.

![Setting the filtering condition](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2Fkk8On1jDmPKRDa2CMOKr%2FScreen%20Recording%202022-08-02%20at%2014.24.41.gif?alt=media\&token=35a2dd58-8d72-41aa-9790-627926044320)

So, only the tasks for which the value in the **Project** column corresponds to the current project's **Name** will be shown. Let's check how that works for the **Ad Campaign** project that includes two tasks (assigned to <steven@softr.io> and <joanne@softr.io>).

![Testing the result](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FRmZBFdYJh7VmjWw8BrY7%2FScreen%20Recording%202022-08-02%20at%2014.28.36.gif?alt=media\&token=bff44eb2-1849-416b-abbd-5a553fb95bad)

That's it. Now, each project details page will also show all the tasks associated to it.
