By Jetformat
Use this for legacy form fields, after listing their exact names with word form-fields. Content controls and MERGEFIELD codes use different commands.
Steps
- Start with a local DOCX. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat word fill-fields letter.docx --set Name=Ada -o letter-updated.docx
Options for this task
| Option | Meaning |
|---|---|
--output |
Output DOCX path (required) |
--set |
Form field as name=value; may be repeated |
Check the result
List form fields in the output and review the visible filled values in a document viewer.
Notes and limits
Writing an Office document uses one credit per command. See the billing guide for the current rules.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat word fill-fields --help to compare options with your installed version.
See the word command reference for the surrounding workflow.