At 05:03 PM 7/29/2003 +0200, Martin Abrahamsson wrote: >I've created a couple och forms based on existing pdfs (scanned forms) and >added acroformfields wich the user editds on screen and then prints the >form.
> Great... I've only done a couple of forms for a demo so far and it is a hassle to get all the formfields in the exact possitions. To speed up things in the future (lots of forms to create) i'm wondering if it is posssible to add the acroformfields in acrobat and then read that form into itext and keep the formfields for the user to edit when i present it on screen. (this line in the docs seems scary " parsing the content of a PDF-file is NOT POSSIBLE with iText " but then there is the method getAcroForm() in PdfReader...) Can I i any way use the getAcroForm() and then add it to my new PdfDocument in som way? >At first it was only ment to be like this but now "they" like the text >enterd in the formfields to be saved into a database. > OK. >This brings me to my >question; Is it possible to have a print/submit button on the form that not >only prints the form but also calls to a servlet that saves th data? > Of course. >My guess is that javascript in the pdf can be used for this but im not sure >as I am new to these "interactive" pdf's. If it is possible to do it this >way, are there any examles of how to use javascript in pdf? > You don't even need JavaScript - just a Submit action on your > button along with the Print action...Quite easy to setup using Adobe > Acrobat itself... The same question as above applys to the submit button if i add it in acrobat and not in iText. Thanks /Martin ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
