# TextControl.FormFieldTextChanged Event

> Occurs when the text of a TextFormField has been changed. The event handler receives an argument of type TextFormFieldEventArgs containing data related to this event. The event occurs only when the text has been changed through typing or deleting text with the keyboard and after the text input position has left the field.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Event
- **Introduced:** 28.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.FormFieldTextChanged Event
- **374 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formfieldtextchanged-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formfieldtextchanged-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formfieldtextchanged-event/llms-full.txt

---

### Description

Occurs when the text of a [TextFormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfield/llms-full.txt) has been changed. The event handler receives an argument of type [TextFormFieldEventArgs](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textformfieldeventargs/llms-full.txt) containing data related to this event. The event occurs only when the text has been changed through typing or deleting text with the keyboard and after the text input position has left the field.

### Syntax

```csharp
public event TextFormFieldEventHandler FormFieldTextChanged;
```

```vbnet
Public Event FormFieldTextChanged As TextFormFieldEventHandler
```

### Examples

The following example records useful context when form field text changed occurs.

```csharp
textControl.FormFieldTextChanged += (sender, e) =>
{
    Console.WriteLine($"Form Field Text Changed at {DateTime.Now:u}");
};
```

```vbnet
AddHandler textControl.FormFieldTextChanged,
    Sub(sender, e)
        Console.WriteLine($"Form Field Text Changed at {DateTime.Now:u}")
    End Sub
```

---

## Nearby

- **Previous:** [TextControl.FormFieldSettingsChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formfieldsettingschanged-event/llms-full.txt)
- **Next:** [TextControl.FormulaReferenceStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/formulareferencestyle-property/llms-full.txt)
