---
title: FilterField
product: Form Library
api-type: class
description: An entry in a Filter control's field list.
source: https://surveyjs.io/form-library/documentation/api-reference/filterfield
source: https://surveyjs.io/form-library/documentation/api-reference/filterfield
---

# `FilterField`

An entry in a Filter control's [field list](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#fields). It can define a field from scratch or customize a field from the [target question](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#targetQuestion).

The following example defines a **Unit price** filter field for a Dynamic Matrix named `products` with a numeric `price` column.

```json
{
  "type": "filter",
  "name": "productFilter",
  "targetQuestion": "products",
  "fields": [
    {
      "name": "price",
      "title": "Unit price",
      "operators": ["equal", "greater", "less"]
    }
  ]
}
```

## Inheritance

[`Base`](https://surveyjs.io/form-library/documentation/api-reference/base.md) &rarr; `FilterField`

## Properties

### `name`

**Type**: `string`

A unique name that identifies this field within the Filter control.

To reference an existing field in the [target question](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#targetQuestion), use that field's `valueName` or `name`. For a nested field, use its full path in dot notation (for example, `"address.city"`).

### `operators`

**Type**: `string[]`

An array of [operator names](https://surveyjs.io/survey-creator/documentation/end-user-guide/expression-syntax#comparison-operators) that determines which operators users can choose when filtering by this field.

If you omit this array, the Filter control uses the matching field's operator list from the [target question](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#targetQuestion) or falls back to all operators supported by the field type.

### `showInQuickFilters`

**Type**: `boolean`

Specifies whether this field appears as a quick filter. Applies when [`showQuickFilters`](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#showQuickFilters) is `true`.

Default value: `true`

A field hidden from quick filters remains available in the dialog opened by the [All Filters button](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#showAllFiltersButton).

### `title`

**Type**: `string`

The localizable label users see for this field in the Filter control.

If you leave this property empty, the Filter control uses the matching field's `title` from the [target question](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#targetQuestion), with the field's `name` as a fallback.
