# Javascript: TXTextControl.TextField.type Property

> Obsolete. This property will be removed in one of the next versions. The field type ("APPLICATIONFIELD" or "TEXTFIELD").

> **Note:** This is deprecated and should not be used in new work.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.TextField.type Property
- **191 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-textfield/type-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-textfield/type-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-textfield/type-property/llms-full.txt

---

### Description

`Obsolete. This property will be removed in one of the next versions.` The field type ("APPLICATIONFIELD" or "TEXTFIELD").

### Syntax

```javascript
<string> TXTextControl.TextField.type
```

### Examples

The following example demonstrates `TXTextControl.TextField.type` in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. The field type ("APPLICATIONFIELD" or "TEXTFIELD").

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

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.TextField.text Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-textfield/text-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.TextFieldPosition Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/textfieldposition-enumeration/llms-full.txt)
