Skip to main content
All CollectionsCatalogCatalog best practices
Filter custom fields based on another custom field
Filter custom fields based on another custom field

Allows you to use the catalog to filter drop-downs of custom fields based on the value of another custom field.

Norberto Lopes avatar
Written by Norberto Lopes
Updated over a week ago

It can be useful to filter on a custom field based on the value of another custom field.

Take the following example, of an organization with multiple divisions, where each division has multiple teams.

An area where this is very useful is in building forms. You can have a form field (say "Affected Teams") to require another field to be previously set (say "Division") before you can set it.

Let's walk through how this works in practice using those example fields.

Configure your "Affected Teams" field

Go to Settings > Custom fields > Edit "Affected Teams".

Set the Filter options based on the value of another custom field to the custom field you want to depend on. In this case, we have an attribute "Division" in the catalog entry for "Affected Teams" so that is what we select.

Change a form to only show "Affected Teams" when "Division" is set

Say you have the following form setup, which is getting a bit long. What you want is to show the user the picker for "Affected Teams" only when "Division" has been set.

The way we filter a custom field ("Affected Teams") based on another custom field ("Division") is to edit the "Affected Teams" field so that it only shows when the incident has "Division" set.

Try your new incident form to see how it plays out

Below you'll see that "Affected Teams" won't appear until a "Division" has been selected.

Did this answer your question?