Posted by a ceTe Software moderator
Hello,
You can achieve your requirement by merging all PDFs and then fill in the form fields using the full form field name. Here is a code sample:
MergeDocument finalDocument = new MergeDocument();
PdfDocument pdf = new PdfDocument(@"C:\FromD\temporary\fw9AcroForm_13.pdf");
finalDocument.Append(pdf);
//Append another document.
PdfDocument pdf1 = new PdfDocument(@"C:\FromD\temporary\AllPageElements.pdf");
finalDocument.Append(pdf1);
//Once you merge all PDFs then fill fields in the PDF using full form field names.
finalDocument.Form.Fields["full form field name"].Value = "Value to be filled";
finalDocument.Draw(@"Output PDF file path");
Thanks,
ceTe Software Support Team