---
title: "Filter the records a reference question offers"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/catalog/reference-filters/
type: task
application: catalog
last_updated: 2026-10-18
commit: f37120b6b82b
---


Use a reference filter when a Reference or Multiple reference question should offer only some records of its table, for example only the locations in the country the requester chose. One filter can serve any number of questions on the same table.

## Before you begin

- You need the `administrator` role.
- The question exists and its **Reference table** is set. See [Question fields](page:catalog/questions).
- For forms other than catalog forms, such as an incident form, use a reference qualifier instead. See [Reference Qualifiers](page:data-model/reference-qualifiers).

## Steps

<Steps>
  <Step>
    Go to **Application → Field → Reference filters** and select **New**.
  </Step>
  <Step>
    Fill in the filter's fields.

    | Field | Description | Example |
    | --- | --- | --- |
    | Name | The filter's name, shown when you pick it on a question. Required. | Location must be selectable |
    | Table | The table the filter applies to. Questions on this table can use it. Required. | Location |
    | Active | The filter applies only when active. Default Yes. | Yes |
    | Condition | A condition on the table's records. It is combined with the script, if any. | Selectable is true |
    | Script | A record query for rules the condition cannot express, such as one that depends on another answer. It is combined with the condition. | See the next step |
  </Step>
  <Step>
    Build the condition in the **Condition** field.

    <Image src="asset:screenshots/admin/catalog-reference-filters/image.png">The Condition field of a reference filter with one condition row.</Image>
  </Step>
  <Step>
    Optional: write a **Script** that returns a table record query. The catalog form and its answers are available as `current`, so `current.Country()` is the answer to a question named `Country`. This script offers selectable locations in the chosen country:

    ```javascript
    AND(
        EQUAL("Selectable", true),
        EQUAL("Country", current.Country())
    )
    ```

    The query functions are described in [Table](page:api/scripting/table).
  </Step>
  <Step>
    Select **Create**.
  </Step>
  <Step>
    Go to **Administration → Catalog → Questions** and open the Reference or Multiple reference question on the same table.
  </Step>
  <Step>
    On the **Question type** tab, select the filter in **Reference filter** and save.

    <Image src="asset:screenshots/admin/catalog-reference-filters/image-2.png" size="34">The Question type tab with the Reference table and Reference filter fields set.</Image>
  </Step>
</Steps>

## Result

The question now offers only the records that match both the condition and the script. Repeat the last two steps for each question that needs the filter.

## Related

- [Question fields](page:catalog/questions)
- [Question data types and renderers](page:catalog/question-data-types)
- [Catalog scripting](page:catalog/catalog-scripting)
- [Reference Qualifiers](page:data-model/reference-qualifiers)
