Effortlessly fill PDF forms with Instant JSON

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.