Hi,
 
Does PDFBox allow you to get the value/target URL of the Submit button in the 
PDF Form (FDF)?

I am able to traverse all the fields in my form. But this list doesn't give me 
the Submit button, and its value.
 
      PDDocument pdfBoxDoc = PDDocument.load(is);
      PDDocumentCatalog pdfBoxDocCatalog = pdfBoxDoc.getDocumentCatalog();
      PDAcroForm pdfBoxAcroForm = pdfBoxDocCatalog.getAcroForm();
         List fields = pdfBoxAcroForm.getFields();           
         
         Iterator it = fields.listIterator();
         while (it.hasNext())
         {
          PDField field = (PDField)it.next();
          System.out.println("Field: " + field.getFullyQualifiedName() + " 
Value: " + field.getValue());
         }
 
 
Thanks

Reply via email to