Skip to main content
Skip table of contents

Filling out forms

For general information on how to programmatically fill form(s), refer to Chapter 4 of the iText Jumpstart tutorial (Java/.NET). This gives detailed instructions on creating interactive form fields based on AcroForm technology and filling them with iText Core.

These examples were written in answer to questions such as:

C04E04_FillForm

##GITHUB:https://github.com/itext/itext-publications-jumpstart-java/blob/master/src/main/java/tutorial/chapter04/C04E04_FillForm.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.publications/itext.publications.jumpstart/tutorial/chapter04/C04E04_FillForm.cs##

fillformspecialchars

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/acroforms/FillFormSpecialChars.java##

##GITHUB:https://github.com/itext/i7ns-samples/blob/master/itext/itext.samples/itext/samples/sandbox/acroforms/FillFormSpecialChars.cs##

fillformspecialchars2

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/acroforms/FillFormSpecialChars2.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.samples/itext/samples/sandbox/acroforms/FillFormSpecialChars2.cs##

formatfields

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/acroforms/FormatFields.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.samples/itext/samples/sandbox/acroforms/FormatFields.cs##

multilinefield

##GITHUB:https://github.com/itext/itext-publications-examples-java/blob/master/src/main/java/com/itextpdf/samples/sandbox/acroforms/MultiLineField.java##

##GITHUB:https://github.com/itext/itext-publications-samples-dotnet/blob/master/itext/itext.samples/itext/samples/sandbox/acroforms/MultiLineField.cs##

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.