Hi, Shrikant. This is not an iText question, except for the fact that you have asked how to do it with an AcroForm. Why? Because the answer would be the same for an AcroForm or an AcroForm.
With iText, all you have to do is add a hidden field and value to the AcroForm. You should be able to figure out how to do this by reading the most excellent book and examples. When you've done your homework -- it on't be easy at first -- you WILL be able to do this with what's available in the book and examples. I know, because that's exactly how I acquired the iText skills that I have. I guarantee you will be well-rewarded for the hard work you put in your iText efforts. And, the harder you work, the luckier you'll get. Best regards, Bill Segraves P.S. Hint: Look at the TextFields examples in the book. Add a required field and its default vslue and make it hidden. -------------- Original message ---------------------- From: shri2010 <[email protected]> > > > Hi > > For one of my requirement, On click of Image, I want to open URL with > posting two hidden parameters. > > Currently I am able to open url with GET method, I need to Hide the > parameters (param1 & Param2 in the below url ). > > Image testImg= Image.getInstance("test.jpg"); > testImg.setAnnotation(new Annotation(0, 0, 0, 0, > "http://www.test.com/new.action?"+"param1=abc"+"¶m2=xyz")); > > Please suggest me / post a piece of code to handle this. > > Thanks, > Shrikant > > -- View this message in context: http://www.nabble.com/On-click-of-Image-submit-acrofrom-with-Method-post-tp24741 > 697p24741697.html > Sent from the iText - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
