FormSpecificType
The specific form type.
Type
Enumeration
Values
- "text"
- "checkBox"
- "picture"
- "comboBox"
- "dropDownList"
- "dateTime"
- "radio"
Example
Set the "text" form type to the first form of the current document.
- Code
- Result
// How to specify the form type.
// Create the form data with the "text" form type and set it to the first form in the document.
const formSpecificType = "text";
const formData = {"key": "CompanyName", "value": "ONLYOFFICE", "type": formSpecificType};
doc.SetFormsData([formData]);