Conditional Dropdowns
Tuesday, March 31st, 2009That’s cool. When can I use this?
Sometimes. You must have a relationship between two tables in order to create a conditional dropdown. The conditional dropdown will be on the field that links the two tables - the “Reference” field, which is often called “Related” something.
In the example above, you might have a table of Manufacturers, a table of Models, and a table of Autos. In the Auto table, there would be fields called “Related Manufacturer” and “Related Model”. The conditional dropdown would be the Related Model.
You cannot use a conditional dropdown in a standard text multiple choice field - it has to be a reference field.
How do I do it?
First, think it through. What will the options in the dropdown list depend on? In our example, the options for Model will depend on what Manufacturer is chosen.
Then just open the field definition page for the field you want to designate as conditional. (Click on the table name, then customize, then fields, then the field). Check the box that says “Conditional Behavior” and then fill in the blanks just as below:

You can try out this example by clicking here: https://www.quickbase.com/db/bd8y59imz?a=GenNewRecord.
What else do I need to know?
Just a couple things. If you are using proxy fields, the conditional dropdown should be on the reference, not the proxy. Conditional dropdowns should work in Grid Edit, although as I am writing this there is a problem with conditional dropdowns in grid edit for IE 7. I am sure this will be fixed soon.
I bet there are other cool things I can do with this.

You can use conditional dropdowns to get rid of them. (Note this example might require a little experience with Quickbase).
