I am using the following code to find the field names from a XFA pdf form that is at pdf version 1.7:
Form form = new Form(pdfFile, pdfFile + “new.pdf”);
String fieldNames = form.getFieldsNames();
But, the resulting fieldNames array is null, even though there are many fields on the pdf form (attached). How do I find the field names on this form?
for using our products and sorry for the delayed response.
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFKITJAVA-33266. We
will investigate this issue in details and will keep you updated on the status
of a correction.
apologize for your inconvenience.