JavaScript API: addFormElement

addFormElement

PREMIUM TRIAL / ADVANCED

Adds form element.

Note

You are reading the JavaScript API documentation. For the PHP API method please go to addFormElement.

Description
addFormElement (type: FormElementType, options: OptionsFormElement = {}, optionsParagraph: OptionsParagraph = {}): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 15.5:
    • new method.