This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/nodejs/json/filling-a-form-with-instant-json.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Fill PDF forms using Instant JSON in Node.js

Follow the steps in this guide to fill a PDF form using an Instant JSON file with Nutrient Node.js SDK.

  1. Create a new Instant JSON file. You can see an example of an Instant JSON file here.
  2. Add the values for the various form fields to a top-level formFieldValues field in the Instant JSON file, like so:
{
"annotations": [...],
"formFields": [...],
"format": "https://pspdfkit.com/instant-json/v1",
"formFieldValues": [
{
"name": "Client Address",
"type": "pspdfkit/form-field-value",
"v": 1,
"value": "An address"
},
{
"name": "Client ZIP",
"type": "pspdfkit/form-field-value",
"v": 1,
"value": "333333"
},
{
"name": "Check Box 11",
"type": "pspdfkit/form-field-value",
"v": 1,
"value": ["Yes"]
},
{
"name": "Check Box 17",
"type": "pspdfkit/form-field-value",
"v": 1,
"value": ["Yes"]
},
...
]
}
  1. Follow the instructions in the import Instant JSON guide to import the Instant JSON file containing the new formFieldValues to the PDF document.