Working with AcroForms using Python
Contents
[
Hide
]
Fundamentals of AcroForms
AcroForms are interactive, page-oriented PDF forms introduced by Adobe and included in the PDF specification since version 1.2. They are widely supported and can be used for data capture, validation, and exchange in cross-platform workflows.
In AcroForm-based workflows, form data can be exchanged in formats such as FDF and XFDF. This makes AcroForms suitable for scenarios where you need to prefill fields from external systems, extract submitted values, or synchronize form data between documents.
Aspose.PDF for Python via .NET provides APIs to create and manage AcroForms programmatically, including filling fields, exporting data, modifying form structure, and adding submit actions.
For practical examples, see the following articles:
- Create AcroForm - create a form from scratch.
- Fill AcroForm - fill form fields in a PDF document.
- Extract AcroForm - extract values from all fields or a specific field.
- Import and Export Form Data - import and export form data in common formats.
- Modifying AcroForm - modify AcroForm field properties.
- Delete Forms from PDF - remove form fields from a PDF document.
- Posting Forms - add submit functionality to a PDF form.