JavaScript API: replaceVariableInputField

replaceVariableInputField

PREMIUM TRIAL / ADVANCED

Replaces input field variable values.

Note

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

Description
replaceVariableInputField (variables: Map<string, string>, target: Target = "document"): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 15.5:
    • new method.