AnhTuan Nguyen wrote: > Thanks for your reply quickly, > I can do as your description, but i would like to know the way how to > get the existing form field, and add the java script code for this field. > I can't find out the any methods in order to get existing form field.
That's too difficult to explain in a mail message. I have a very small example in chapter 18 of the book, but this example won't help you if you haven't read the other chapters. You need PdfReader and PdfStamper, you need to know how to find the PDF objects (dictionaries) that describe the form field, and you need to read the specific chapters on form fields in the PDF Reference. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
