This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/web/forms/fill-form-fields/import-from-instant-json.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Import data into PDF form using Instant JSON | Nutrient SDK

With Nutrient Web SDK, it’s possible to set form field values in a document by importing them as Instant JSON.

Use this format when your app needs Instant JSON for internal persistence and syncing.

If you need external interoperability, import from XFDF. For collaborative server-backed workflows, use Document Engine.

NutrientViewer.load({
instantJSON: {
format: "https://pspdfkit.com/instant-json/v1",
formFieldValues: [
{
name: "Form Field 1",
value: "Text for form field 1",
type: "pspdfkit/form-field-value",
v: 1
}
]
}
});

The snippet above will prefill the form field named “Form Field 1” with the text “Text for form field 1”.

You can also import form field values as Instant JSON using document operations, available with the Document Editor license component:

instance.applyOperations([
{
type: "applyInstantJson",
instantJson: {
format: "https://pspdfkit.com/instant-json/v1",
formFieldValues: [
{
name: "Form Field 1",
value: "Text for form field 1",
type: "pspdfkit/form-field-value",
v: 1
}
]
}
}
])