The TextFieldActions example:

  http://itextpdf.com/examples/iia.php?id=159

shows how to create a TextField with a given field name, and
then get a PdfFormField from that, and then setAdditionalActions
on that PdfFormField.

The FormInformation example:

  http://itextpdf.com/examples/iia.php?id=121

shows how to get a field value by supplying  the field name
to the getField method of an AcroFields instance.

However, what I need is to get a PdfFormField from and AcroFields
instance and a field name.  I then need to use that PdfFormField
to specify an action for the field.

The AcroFields class does have a method:

http://api.itextpdf.com/itext/com/itextpdf/text/pdf/AcroFields.html#getFieldItem%28java.lang.String%29

however, looking at the AcrodFields.Item class shows
nothing, AFAICT, that will produce a PdfFormField which
I could then use to set some action for the field.

Any help would be greatly appreciated.

-regards,
Larry


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to