Salesforce PDF Form Lightning Web Component

PSPDFKit for Salesforce is a JavaScript library for filling, reading, creating, and editing PDF AcroForms from a web browser. It can be integrated into a Lightning web component and offers developers an API for programmatic access to PDF form objects, as well as a beautiful UI for creating and filling forms natively in Salesforce Lightning without adding server-side dependencies.

Try for Free Launch Demo

Nutrient SDKs are trusted by world’s most popular applications, including Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa. Nutrient’s powerful solutions enable seamless integration of PDF editing features into your applications, delivering reliability and efficiency to world-class enterprises.

Key capabilities

  • Open, edit, and save — Directly in Salesforce from a web browser

  • Fill PDF forms — Easily fill forms using the intuitive UI or programmatically via APIs

  • Capture form data — Export form data and submit it to a server or embed it directly into a PDF file

  • Form creator tool — Drag and drop fields to convert static PDFs into interactive, fillable forms

  • Form creation API — Generate PDF forms and form fields programmatically from scratch

  • Customizable appearance — Style form elements with colors, backgrounds, borders, and adjustable widths

  • Data validation — Validate form data using JavaScript logic for accuracy

  • Automated form events — Trigger workflows or automations upon user interactions

  • Extendable features — Enhance with eSignatures, annotations, PDF editing, and more advanced tools

Essential guides

What are PDF forms?
Learn the fundamentals of PDF forms and their capabilities

Supported form fields
Discover the types of PDF form fields supported by Nutrient Web SDK

Form data formats
Explore how to use external files to manage and integrate form data

Programmatic form filling
Understand approaches to programmatically fill form fields in PDFs

Import form data using Web SDK with Document Engine
Step-by-step guide to importing form data using Nutrient Web SDK with Document Engine

Import form data from Instant JSON files
Learn how to manage PDF form data using Instant JSON file imports

Import form data from XFDF files
Use XFDF files to seamlessly import data into PDF forms

Import form data from a database
Learn how to populate PDF forms with data directly from a database

Fill form fields using the built-in UI
Learn how end users can fill PDF form fields with Nutrient Web SDK’s built-in UI

Attach a file to a PDF
How to attach a file to a PDF as an image annotation

Add an image to a PDF
Add images to PDFs as annotations to enhance a document’s visual appeal

Detect user form field input
Subscribe to form events and monitor user input in form fields

Form field permissions
Set up and configure permissions for filling out PDF forms securely

Extract form data
Learn how to extract data from form fields in any PDF document

Read form fields
Access and read all form objects embedded in a PDF file

Submit or save form data using Web SDK with Document Engine
How to securely save or submit PDF form data using Nutrient Web SDK with Document Engine

Submit or save form data to an external source
Steps to submit or save form data directly to external platforms

Embed form data into a PDF
Embed captured form data directly within a PDF for streamlined workflows

Auto-save forms
Learn how to configure auto-save functionality for form data in PDF documents

Create a fillable PDF form
Programmatically create fillable PDF forms with Nutrient Web SDK’s APIs

Add a signature field
Add secure, interactive signature fields to PDF documents

Edit form fields
Update form fields and widget annotations in PDF forms

Remove form fields
Learn how to delete unwanted form fields from a PDF

Form creator tool
Build applications that let users drag and drop fields onto a PDF form

Form field flags
Configure form field behavior and capabilities to match your requirements

Flatten PDF forms
Burn form data into a PDF by flattening forms for secure sharing

PDF actions support
Discover the supported PDF actions in Nutrient Web SDK for dynamic documents

JavaScript validation
Validate form field inputs using custom JavaScript logic

Free trial

Start your free trial for unlimited access and expert support.

FAQ

What is Nutrient Web SDK? Nutrient Web SDK is a powerful JavaScript library that enables developers to fill, create, and edit PDF AcroForms in web applications.
How can forms be filled using Nutrient Web SDK? Forms in PDF documents can be filled programmatically using APIs or interactively through Nutrient Web SDK’s intuitive UI.
Can I create PDF forms from scratch with Nutrient Web SDK? Yes, Nutrient Web SDK allows you to create fillable PDF forms and fields from scratch using developer APIs or the drag-and-drop form creator tool.
Can I customize the appearance of form fields in Nutrient Web SDK? Absolutely! Nutrient Web SDK offers styling options to customize the appearance of form fields, including colors, borders, backgrounds, and widths.
Does Nutrient Web SDK support form validation? Yes, Nutrient Web SDK supports JavaScript-based form validation to ensure the accuracy and reliability of form field inputs.