Before you get to setting the Conditional Behavior property, there's work to do. The most basic and recommended method involves completing these steps:
Create three tables in your application.
Create three one-to-many relationships among your tables.
Enter data.
Modify field properties to set up your conditional field. The field properties let you define the conditions that determine what appears in the resulting dropdown list.
Each of these steps is more fully explained in the tutorial below. You can follow the steps in this tutorial to set up the application used in the example above.
Note: While this is the most common and the recommended way to create conditional dropdowns, you can choose another method. Click to learn how.
Follow this tutorial to set up an application with that allows you to enter employee names, countries, and cities. The Add Employee form should contain a conditional dropdown, allowing you to filter the cities list based on the selection of the employee's country.
![]() |
![]() |
While your actual application may include many more than three tables, to achieve the conditional dropdown shown in the example form, you need to create at least the tables and fields shown in the table below:
Table |
Fields (all of type Text) |
Description |
Employees |
|
You'll record all information about each employee in this table. |
Countries |
Country |
Use this table to store the names of all countries where your company has at least one office. |
Cities |
City
|
Use this table to store the names of all cities where your company has at least one office. |
Each of your tables needs to know something about at least one other table in your application:
Your Employees table needs to have access to the country and cities lists in the Countries and Cities tables, so that you can specify the appropriate country and city when entering an employee record.
Your Countries and Cities tables need to know about each other, so that you can pair each city with the appropriate country.
So, you should set up these three relationships:

The relationships should be set up this way because:
One country has many cities
One country has many employees
One city has many employees
How reference fields help you with conditional dropdown lists
When you create this relationship... |
...QuickBase creates these reference fields in the Details table. |
How these reference fields help you create conditional dropdowns |
Countries -< Cities |
Related Country
|
Having the Related Country field in the Cities table lets you pair each city with a country. |
Countries -<Employees |
Related Country |
Having the Related Country field in the Employees table lets you associate each employee record with the right country. |
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 employe 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. |
For now, just make note of the reference fields that QuickBase created. You'll use these later in the process.
Populate your Countries and Cities tables as follows:
Countries |
Cities |
Canada |
|
England |
|
France
|
Paris
|
United States |
|
Remember that your goal is to create a form where you can enter employee information and be able to filter the City list based on the employee's country. You can see that your Employee table now contains these reference fields: Related Country and Related City fields. The field you want to define as conditional is the Related City reference field in the Employee table.
To set Conditional Behavior properties for your conditional field:
Access the field properties of the Related
City field in the Employees table
.
Check the Filter choices by
selecting another field first option. (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:
After <field1> is selected,
Show only choices where <field1> = <field2>
Set these conditions:
In the first field, select Employees: Country. This tells QuickBase to check the selection of the Employees: Country field to determine which cities to display..
In the second field, select
Cities: Country. This
tells QuickBase to display only those cities that belong to the
country the user selected.

Click Save.
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, simply edit your form properties and remove the field from your form
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:
Click Employees > Add an employee.
Enter Garton and Colleen, for Last name and First name, respectively.
In the Country field, select Canada.
Click the Cities dropdown. QuickBase displays only Canadian cities: Toronto and Vancouver.
Select Toronto and click Save.