modifyInputFields

modifyInputFields

BASIC / ADVANCED / PREMIUM

Modifies the values associated with Word template input fields.

Description
public modifyInputFields (array $data)

This method allows to modify the value of a series of Word input fields.

In combination with the tickCheckbox method allows to fill all data of a standard web form.

This method is also compatible with Word legacy input fields.

Parameters

data

An array with the names of the input fields as keys and their corresponding values.

Return values

Void.

Code samples

Example #1

The resulting Word document looks like: