Hi, I have tried for several hours (more than a day) to solve this problem. Yes, I have read the documentation and also bought the Manning book. Can somebody give me pointers on how to solve this?
Here is the problem: I have 2 Acroforms (call them P1.pdf & P2.pdf). P1.pdf has just one text field and one submit button. This submit button just does HTTP/POST of the text field in P1.pdf to server; i.e. just sends name value pair to server. I am able to POST to server from Acrobat reader, no problems so far. (Except bugs in Acrobat 8.0 which did not POST the "&" between request parameters. This bug is corrected in Acrobat 8.1). All right,now I want to concatenate P2.pdf, which also has another unique text field. I want to concatenate P2.pdf to P1.pdf and POST the text fields of P2 also to server. That's where I am trying to use iText and miserable failing. Tried concatentating 2 pdfs using PdfCopy.copyAcroForm, but now the submit button on page 1 does nothing; i.e. is does NOT send ANYTHING to server. Tried doing PdfCopyFields, same result; i.e. nothing sent to server. Then I tried to generate a new pdf dynamically, added a new Acroform and then a new submit button dynamically using pdfAcroForm.addHtmlPostButton. Again concatenated two acroforms. This button does send some data to the server, but only for acrofields on the dynamically generated pages. Tried so many other things, nothing works. So the question is - how to I merge two acroforms so that the submit botton posts the merged fields of all merged documents to the server? Can it be done? Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
