# Javascript: TextFieldInfo.deleteable Property

> Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TextFieldInfo.deleteable Property
- **181 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/deleteable-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/deleteable-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/deleteable-property/llms-full.txt

---

### Description

Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited.

### Syntax

```javascript
<boolean> TextFieldInfo.deleteable
```

### Examples

The following example demonstrates `TextFieldInfo.deleteable` in a practical document-editing workflow. It specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited.

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

---

## Nearby

- **Previous:** [Javascript: TextFieldInfo.containsInputPosition Property](https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/containsinputposition-property/llms-full.txt)
- **Next:** [Javascript: TextFieldInfo.doubledInputPosition Property](https://docs.textcontrol.com/ds-server/reference/javascript/textfieldinfo/doubledinputposition-property/llms-full.txt)
