In ColdFusion, can I rename a PDF Form Field with CFPDF? -


We have a PDF that contains standard PDF forms. We want to merge them and fill the data in the field at the same time Want to

The problem is that sometimes we can merge more than one document into the final document.

Is there a way to rename Field (ADH __ #) in PDF so that there is no conflict of repetitive documents?

I can do this with iText code, I am testing CFPDF / CFPDFFORM code to get rid of iText.

You can not change the field with cfpdf or cfpdfform

here is a simple Example:

  & lt ;! --- To populate each form - - & gt; & Lt; Cfloop = "1" to = "#ArrayLine (files) #" index = "I" & gt; & Lt; Cfset destination = "# id #. Pdf" /> & Lt ;! --- Fill form fields --- & gt; & Lt; Cfpdfform action = "populate" source = "# pdf_source_file #" destination = "# destination #" & gt; & Lt ;! --- Form paramours --- & gt; & Lt; / Cfpdfform & gt; & Lt ;! --- Flaton file --- & gt; & Lt; Cfpdf action = "write" source = "# destination #" destination = "# destination #" flatten = "yes" /> & Lt; / Cfloop & gt; & Lt ;! --- Merge Falleted Files --- & gt; & Lt; Cfpdfaction = "merge" name = "output" & gt; & Lt; Cfloop = "1" to = "#SerinalLine (files) #" index = "I" & gt; & Lt; Cfpdfparam source = "# i # .pdf" & gt; & Lt; / Cfloop & gt; & Lt; / Cfpdf & gt; & Lt ;! --- Full PDF --- & gt; & Lt; Cfcontent type = "application / pdf" reset = "true" variable = "# to binary (output) #" & gt;  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -