# AlertFormContext

Canonical page: https://www.adaptabletools.com/docs/reference/alertformcontext

Context required by functions when using an Alert Button

```ts title="TypeScript"
export interface AlertFormContext<TData = any> extends FormContext 
```

###### Extends

[`FormContext`](https://www.adaptabletools.com/docs/reference/formcontext.md)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [alert](https://www.adaptabletools.com/docs/reference/alertformcontext.md#alert) | [`AdaptableAlert`](https://www.adaptabletools.com/docs/reference/adaptablealert.md)`<TData>` | Alert that has been triggered |
| [adaptableContext](https://www.adaptabletools.com/docs/reference/alertformcontext.md#adaptablecontext) | `any` | Custom application Context provided in `AdaptableOptions.adaptableContext` |

## Property Details

### alert

Alert that has been triggered

```ts title="TypeScript"
alert: AdaptableAlert<TData>;
```

###### Property Value

[`AdaptableAlert`](https://www.adaptabletools.com/docs/reference/adaptablealert.md)`<TData>`

### adaptableContext

> *Inherited from [BaseContext](https://www.adaptabletools.com/docs/reference/basecontext.md)*

Custom application Context provided in `AdaptableOptions.adaptableContext`

```ts title="TypeScript"
adaptableContext: any;
```

###### Property Value

`any`
