TXTextControlWeb.removeTextField Method

The removeTextField method removes a text field from the document.

<

Syntax

[JavaScript]
<void> TXTextControlWeb.removeTextField(<TextField> textField, <boolean> keepText);
Parameter Description
textField

The text field to remove from the document. Allowed types are TXTextControl.TextField and TXTextControl.ApplicationField. Must have been retrieved with getTextFields beforehand.

keepText

If this parameter is set to true, the field is removed without deleting its visible text. Otherwise, the field's text is also deleted.