No I would display the cex124.pdf file the cex124.fdf contains the form data.
So I take it that the approach stated on http://www.worlddesign.com/index.cfm/rd/cf/PDFForms.htm does not work on CFMX7? I need to use the itext feature ? If this is the case I have modified iText code below, how would I then integrate this into my CF page and where would the code below sit in the CF structure ? Finally how would the PDF document know where to populate the correct form fields in the pdf document as there is no FDF doc involved? Ian ----------------------------- package com.lowagie.examples.general.copystamp; import java.io.FileOutputStream; import com.lowagie.text.pdf.AcroFields; import com.lowagie.text.pdf.PdfReader; import com.lowagie.text.pdf.PdfStamper; /** * Fill in a simple registration form. */ public class Register { /** * Reads a form and fills in the fields. * @param args no arguments needed */ public static void main(String[] args) { System.out.println("Filling in a form"); try { // we create a reader for a certain document PdfReader reader = new PdfReader("cex124original.pdf"); int n = reader.getNumberOfPages(); // filling in the form PdfStamper stamp1 = new PdfStamper(reader, new FileOutputStream("cex124modified.pdf")); AcroFields form = stamp1.getAcroFields(); form.setField("test1", "#session.test1#"); form.setField("test2", "#session.test2#"); stamp1.close(); } catch (Exception de) { de.printStackTrace(); } } } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220106 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

