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 _javascript_ code for this field.
I can't find out the any methods in order to get existing form field.
Regards,
Tuan
"Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote:
AnhTuan Nguyen wrote:
> Hi itext supports,
> I would like to launch _javascript_ 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
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
------------------------------------------------------------------------- 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
