Unable to read data in some fields in the pdf

nw.pdf (470.6 KB)
output.JPG (45.1 KB)

Hi, output.jpg contains the output of the below piece of code.
String imagePath = “c:/tmp/nw.pdf”;
Document pdfDocument = new Document(imagePath);
for (Field fd: pdfDocument.getForm().getFields())
{
System.out.println("Value - " + fd.getValue());
System.out.println("Name - " + fd.getName());
System.out.println("AlternateName - " + fd.getAlternateName());
System.out.println(“FullName - " + fd.getFullName());
System.out.println(“PartialName - " + fd.getPartialName());
System.out.println(”*************”);
}

Please notice that nw.pdf is also attached to this ticket. And, as you can notice, for some reason - there are a bunch of data fields that were skipped by this code - Name, Phone, SSN, Email .

Can you please check and let me know how to read these missing data fields as well?

A post was merged into an existing topic: How to read the labels of the editable fields in a PDF?