---
title: "Another option for creating conditional dropdowns"
slug: "another-option-for-creating-conditional-dropdowns"
updated: 2026-04-27T19:59:43Z
published: 2026-04-27T19:59:43Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.quickbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Another option for creating conditional dropdowns

The most common and recommended method for creating conditional dropdown lists is using the [three-table model](/v1/docs/conditional-dropdowns). You can, however, design conditional dropdowns using another method:

- The conditional dropdown is created based on the relationship between only two tables
- Both tables must contain the field upon which the conditional dropdown depends.

So, to achieve this result:

| ![Employee table showing the Country field highlighted with a callout](https://cdn.document360.io/dd260e4e-10bb-4b66-8fb3-5504c272b904/Images/Documentation/employee_countrycallout(1).png) | ![Employee form with callout annotations indicating the Country and Related City fields](https://cdn.document360.io/dd260e4e-10bb-4b66-8fb3-5504c272b904/Images/Documentation/employeeform_callouts(1).png) |
| --- | --- |

...you would need to create these two tables:

- Employees
- Cities

Both the Employees and Cities tables need to include a Country field AND it's important that the values in these fields match.

## When would I use this approach?

You might consider taking this approach when it's your practice to import data to maintain the field upon which the conditional field depends. For instance, if you want to maintain your parent Countries list, you could choose to:

- Create a table and a record into which you can import a list of countries
- In the Employees and the Cities table, make sure the Country field is a [shared value field](/v1/docs/using-shared-value-fields) that uses the table and record you created in the previous step as its source. This ensures that your list of countries will always be the same.

## Drawbacks to this approach

While it can certainly work, this approach is a bit more error-prone than the basic three-table scenario. The two-table method requires that you keep the "duplicate" field in both tables entirely in synch. If you choose not to implement the shared value recommendations above, you must always remember to update the country list in the Employees table when you update the country list in the Cities table.

## Tutorial: creating a conditional dropdown using a two-table relationship

Follow these steps to create a conditional dropdown, based on a single relationship between two tables. Note that, in this example, we're also creating a third table, only to hold the parent list of Countries.

### Create an application with three tables

Create the two tables and fields shown in the table below:

| Table | Fields | Description |
| --- | --- | --- |
| Employees | - Last name (text field) - First name (text field) - Country (shared value field) | You'll record all information about each employee in this table. |
| Cities | - City (text field) - Country (shared value field) | Use this table to store the names of all country and city pairs. |
| Countries | Country | This table holds your parent list of countries |

### Import or enter your countries

Add these records to your Countries table (either manually or by import)

- Canada
- England
- France
- United States

### Configure your shared value fields

In the Employees and Cities table, edit the Country field properties. For the source of these shared value fields, select the Countries: Country field.

### Create a relationship between the Cities and Employees tables

Your Employees table needs to have access to the city and country pairs in the Cities tables so that you can specify the appropriate city and country when entering an employee record.

![Diagram showing the two-table relationship between the Cities and Employees tables](https://cdn.document360.io/dd260e4e-10bb-4b66-8fb3-5504c272b904/Images/Documentation/twotablerelationship.png)

The relationships should be set up this way because one city has many employees

#### Reference and lookup fields in the details table

Once you've created this relationship, you should see this reference field in the Employees table:

| When you create this relationship... | ...Quickbase creates these reference fields in the Details table. | How these reference fields help you create conditional dropdowns |
| --- | --- | --- |
| Cities -< Employees | Related City | The Related City field in the Employees table is your conditional field. Having this field in the Employees table lets you associate each employee with the right city. It also lets you set up conditional behavior that allows you to specify that Quickbase should check the selection of the employee's country and then filter the Related City list accordingly. |

Quickbase also creates a lookup field in the Employees table when you create this relationship:

| Lookup field | Description |
| --- | --- |
| City - Country | The City - Country lookup field in the Employees table gives Quickbase access to the City/Country pairs in the Cities table. (You can see that the City - Country field contains the values in the Cities: Country field.) While it's important that this lookup field exists in the Employees table, you'll want to remove it from your form later. |

For now, just make note of the reference fields that Quickbase created. You'll use these later in the process.

### Enter your Cities

Populate your Cities table as follows:

| Cities | Countries |
| --- | --- |
| - Toronto - Vancouver | Canada |
| - London - Westminster | England |
| Paris | France |
| - Boston - Chicago - New York - San Francisco | United States |

### Set Conditional Behavior properties for your conditional field

Remember that your goal is to create a form where you can enter employee information and be able to filter the Cities list based on the employee's country. You can see that your Employees table now contains the reference field Related City--this is the field that you should define as conditional.

To set the Conditional Behavior property:

1. Access the field properties of the Related City field in the Employees table. ![Field properties dialog for the Related City field showing the Conditional Behavior section](https://cdn.document360.io/dd260e4e-10bb-4b66-8fb3-5504c272b904/Images/Documentation/conditionalbehavior(2).png)
2. Check **The values in this field depend on a selection in another field**. (Note: You'll see this option only in the field properties for Reference fields; if you don't see it, you may have chosen the wrong field by mistake.) Quickbase asks you select fields to complete this statement: A selection in <field1> shows choices where <field1> = <field2> .
3. Set these conditions:
  1. In the first dropdown, select Employees: Country. This tells Quickbase to check the value of the Employees: Country field to determine which cities to display.
  2. In the second dropdown, select Cities: Country. This tells Quickbase to display only those cities that belong to the country the user selected.
4. Select **Save**.

## Clean up your Employee form

Depending on the order in which you created your relationships, your Employee form may contain an extra field (City --Related Country). If this is the case, edit the form properties and remove the field from your form.

## Test your conditional dropdown

Once you've completed these steps, you can test your conditional dropdown by adding a new employee, Colleen Garton, to your Toronto office.

To test the conditional dropdown:

1. From the Employees table, select **+ New Employee** on the page bar.
2. Enter *Garton*and *Colleen*, for Last name and First name, respectively.
3. In the Country field, select *Canada*.
4. Select the **Cities** dropdown. Quickbase displays only Canadian cities: Toronto and Vancouver.
5. Select *Toronto* and select **Save**.
