# TXTextControl.IncludeTextField Object

> Represents an MS Word specific INCLUDETEXT field. Is used as a parameter for the addMergeField method.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 25.0
- **Path:** DS Server > Reference > JavaScript API > TXTextControl.IncludeTextField Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/#members)

---

## In This Section

- [Javascript: TXTextControl.IncludeTextField.bookmark Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/bookmark-property/llms.txt): Specifies the bookmark switch of the field.
- [Javascript: TXTextControl.IncludeTextField.fileName Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/filename-property/llms.txt): Specifies the file name of the document that should be inserted. In the MailMerge component, the search path for the documents can be set using the DocumentServer.MailMerge.SearchPath property.
- [Javascript: TXTextControl.IncludeTextField.preserveFormatting Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/preserveformatting-property/llms.txt): Specifies whether the field's formatting should be preserved.
- [Javascript: TXTextControl.IncludeTextField.text Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/text-property/llms.txt): Specifies the initial text of the field. Let this property be null to use the default text "INCLUDETEXT".
- [Javascript: TXTextControl.IncludeTextField.textFormat Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/textformat-property/llms.txt): Specifies the text format of the field. Possible values are defined in TXTextControl.MergeFieldTextFormat.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.images Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/images-property/llms.txt)
- **Next:** [Javascript: TXTextControl.IncludeTextField.bookmark Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-includetextfield/bookmark-property/llms.txt)
