Hello,
I'm trying to merge two pdf documents containing form fields and defined as PdfDocuments, but the second page's form fields are blank even though there is valid data coming in to them.
Steps:
1)In a procedure I create an instance of a PdfDocument (doc1).
2)I create an instance of a MergeDocument passing in doc1 to the constructor
3)I create an instance of a ceTe.DynamicPDF.Page and set it equal to the first page of the MergeDocument's pages collection
4)I populate doc1's form fields using the doc1.Form.Fields("field_name").CreateLabel method
5)I call a function from the original procedure which returns a PdfDocument (doc2) to the MergeDocument's Append method
6) Within the function, I create a new PdfDocument for doc2 and declare a new instance of a ceTe.DynamicPDF.Page object but do not set it equal to anything as a PdfDocument object does not expose a ceTe.DynamicPDF.Page, but a ceTe.DynamicPDF.Merger.PdfPage.
7) Within the function I populate doc2's form fields using the doc1.Form.Fields("field_name").CreateLabel method
8) I return the PdfDocument object to the calling procedure's MergeDocument object's Append method
9) Doc1 fills in fine, but doc2's remain blank. Again, I have verified that there are values getting pushed into the form fields, checked that the form field names are mapped correctly and that the document is writable. The pdf does not appear to be corrupt in any way.
Additional info:
Dev environment: Asp.Net 2003 using VB.Net
OS: Win XP Pro SP2
Adobe version: Acrobat 7.0 Pro was used to create both documents
Blank Form Fields
Re: Blank Form Fields
Support · Apr 10, 2006Hello,
We would like to have a look at the pdf code and the original PDF documents. Can you please send them over to us in an email, [^a|mailto:support@cete.com|support@cete.com^].
The problem likely appears to be within the code or the second PDF document on which the form fields do not show up.
Thanks,
ceTe Software Support Team