AnhTuan Nguyen wrote: > Hi itext supports, > I would like to launch java script code when the mouse clicks on the > form field (for existing PDF file). I have researched some iText API, > but i don't know how to do that.
I have made a simple calculator in PDF: http://itext.ugent.be/itext-in-action/examples/chapter15/results/calculator.pdf This is how it's done: http://itext.ugent.be/itext-in-action/examples/chapter15/Calculator.java Examine the code to see how to add JavaScript actions to a field. 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
