Skip to main content

TextFormInsertPr

Properties for inserting a text field.

Type​

Enumeration

Values​

Example​

Insert a text box with the specified text box properties over the selected text.

// How do I insert a text form with properties such as a tip and a placeholder?

// Add a text form with properties.

let textFormInsertPr = {
"key": "Personal information",
"tip": "Enter your first name",
"required": true,
"placeholder": "Name",
"comb": true,
"maxCharacters": 10,
"cellWidth": 3,
"multiLine": false,
"autoFit": false,
"placeholderFromSelection": true,
"keepSelectedTextInForm": false
};
doc.InsertTextForm(textFormInsertPr);