modifyInputFields

modifyInputFields

BASIC / ADVANCED / PREMIUM

Modifies the values associated with Word template input fields.

Description
public void modifyInputFields(HashMap<String, String> 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

A HashMap with the names of the input fields as keys and their corresponding values.

Code samples

Example #1

The resulting Word document looks like: