# Javascript: TextFieldInfo.type Property

> The field type ("APPLICATIONFIELD" or "TEXTFIELD").

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TextFieldInfo.type Property
- **158 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/type-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/type-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/type-property/llms-full.txt

---

### Description

The field type ("APPLICATIONFIELD" or "TEXTFIELD").

### Syntax

```javascript
<string> TextFieldInfo.type
```

### Examples

The following example demonstrates `TextFieldInfo.type` in a practical document-editing workflow. The field type ("APPLICATIONFIELD" or "TEXTFIELD").

```javascript
function inspectType(textFieldInfo) {
    const type = textFieldInfo.type;
    console.log("type:", type);
}
```

---

## Nearby

- **Previous:** [Javascript: TextFieldInfo.text Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/text-property/llms-full.txt)
- **Next:** [TextFormField Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textformfield/llms-full.txt)
