FormInsertPr

type FormInsertPr = object

Description

Form insertion specific properties.

Properties

placeholderFromSelectionbooleandefault: false

Specifies if the currently selected text should be saved as a placeholder of the inserted form.

keepSelectedTextInFormbooleandefault: true

Specifies if the currently selected text should be saved as the content of the inserted form.

Try It

var oTextFormInsertPr = {"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};
oDocument.InsertTextForm(oTextFormInsertPr);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).