---
title: IFilterPreset
product: Form Library
api-type: interface
description: The configuration for a filter preset.
source: https://surveyjs.io/form-library/documentation/api-reference/ifilterpreset
source: https://surveyjs.io/form-library/documentation/api-reference/ifilterpreset
---

# `IFilterPreset`

The configuration for a [filter preset](https://surveyjs.io/form-library/documentation/api-reference/filterpreset). Pass an object of this type to [`addPreset()`](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#addPreset) or [`updatePreset()`](https://surveyjs.io/form-library/documentation/api-reference/questionfiltermodel#updatePreset).

When updating a survey-defined preset, use [`allowEdit`](https://surveyjs.io/form-library/documentation/api-reference/filterpreset#allowEdit) and [`allowDelete`](https://surveyjs.io/form-library/documentation/api-reference/filterpreset#allowDelete) to override the Filter control's permissions.

## Inheritance

[`IFilterPresetPermissions`](https://surveyjs.io/form-library/documentation/api-reference/ifilterpresetpermissions.md) &rarr; `IFilterPreset`

## Properties

### `expression`

**Type**: `string`

The [filter expression](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions) that determines which records match this preset.

### `name`

**Type**: `string`

A unique name that identifies this preset within the Filter control. Use this name when updating the preset.

### `title`

**Type**: `string`

The label users see for this preset in the Filter control.

Default value: `""` (uses the preset's [`name`](#name) as the label)
