Re: [iText-questions] form flattening causing data loss

2010-06-11 Thread Gregg.Gilbert
Hello, thank you all for you help. The client has decided to re-do the forms in Adobe Pro (aka pure AcroForms). I have tested flattening and concatenating with PdfCopyFields with a pure AcroForm pdf (no XFA) and everything works as we want. From: Leonard R

Re: [iText-questions] form flattening causing data loss

2010-06-08 Thread Gregg.Gilbert
I took out the acrofields.setField method and replaced with this example I found. pdfReader = new PdfReader(pdfInFile); pdfStamper = new PdfStamper(pdfReader, new FileStream(pdfOutFile, FileMode.Create)); pdfFormFields = pdfStamper.AcroFields; xml_reader = new XmlTextReader(xmlPath);

Re: [iText-questions] form flattening causing data loss

2010-06-07 Thread Gregg.Gilbert
Thanks for responding. I definitely will plead ignorance to a lot of thisvery new at dealing with Adobe forms and filling them. Learning on the fly with lots of googling to find examples of what I need to do. I was not the author of the forms. They were handed to me, along with a prot

[iText-questions] form flattening causing data loss

2010-06-07 Thread Gregg.Gilbert
Hi, I have an issue where fields that repeat on each page of a form, like Name, have their values disappear after flattening the form. The name field is on the top of each page of the form. Don't want unique field names on the form (which I know would solve the problem). So here are the fi