# CheckFormFieldCallback Function

> Callback function for check form field events. (see also TXTextControl.addEventListener function)

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Function
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > CheckFormFieldCallback Function
- **184 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/checkformfieldcallback/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/checkformfieldcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/checkformfieldcallback/llms-full.txt

---

### Description

Callback function for check form field events. (see also [TXTextControl.addEventListener function](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt))

### Syntax

```javascript
function(<CheckFormFieldEventArgs> args)
```

### Examples

The following example demonstrates `CheckFormFieldCallback` in a practical document-editing workflow. Callback function for check form field events. (see also TXTextControl.addEventListener function).

```javascript
function checkFormFieldCallback(args) {
    console.log("args:", args);
}
```

---

## Nearby

- **Previous:** [Javascript: CheckFormField.setUncheckedCharacter Method](https://docs.textcontrol.com/ds-server/reference/javascript/checkformfield/setuncheckedcharacter-method/llms-full.txt)
- **Next:** [CheckFormFieldEventArgs Object](https://docs.textcontrol.com/ds-server/reference/javascript/checkformfieldeventargs/llms-full.txt)
