<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Empty &#102;orm field &#111;n a PDF</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : Empty &#102;orm field &#111;n a PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 20 May 2026 05:54:41 +0000</pubDate>
  <lastBuildDate>Thu, 29 Nov 2007 11:36:30 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=841</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : I&amp;#039;ve used FormMax for years...]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3960.html#3960</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 29 Nov 07 at 11:36AM<br /><br />I've used <a href="http://www.acrosoftware.com/products/&#102;ormmax/default.asp" target="_blank">FormMax</a> for years with good results.  Also use NitroPDF if needing to add form fields to an existing PDF.<br /><br />BTW, AcroSoftware also has a form filling ActiveX component, but I haven't tried it.<br />]]>
   </description>
   <pubDate>Thu, 29 Nov 2007 11:36:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3960.html#3960</guid>
  </item> 
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : One more question 4 you Chicks...]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3957.html#3957</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 29 Nov 07 at 5:32AM<br /><br />One more question 4 you Chicks :<br><br>You said you never had a problem with forms processing.<br><br>How do you design your templates ? Do you draw them in Word and convert them using Adobe PRO or do you use something else to design these templates ?<br>]]>
   </description>
   <pubDate>Thu, 29 Nov 2007 05:32:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3957.html#3957</guid>
  </item> 
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : This is exactly the same issue....]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3953.html#3953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 27 Nov 07 at 10:59AM<br /><br />This is exactly the same issue.  You are trying to get the name of fields that don't exist.  After half the fields have been flattened, LNI will be greater than the number of remaining fields, so GetFormFieldTitle(LNI) will return null.<br /><br />Try ObjQpdf.GetFormFieldTitle(1), which should work fine.<br />]]>
   </description>
   <pubDate>Tue, 27 Nov 2007 10:59:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3953.html#3953</guid>
  </item> 
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : Thanks for your usual help Chicks.I&amp;#039;m...]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3951.html#3951</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 27 Nov 07 at 5:15AM<br /><br />Thanks for your usual help Chicks.<br><br>I'm aware of the reference problem and on the REAL , PROduction server side code, it's done in reverse order.<br><br>However, back to this topic here, I'm curious about this :<br><br>Try to make the loop this way :<br><br>FOR LNI=1 TO LNT<br>&nbsp; FORMFIELDNAME=OBJQPDF.GETFORMFIELDTITLE(LNI)<br>&nbsp; WSCRIPT.ECHO "FIELD #",LNI,": '" + FORMFIELDNAME + "'"<br>&nbsp; IF&nbsp; NOT OBJQPDF.FLATTENFORMFIELD(1) = 1 THEN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSGBOX "ERROR WHILE FLATTENING THIS FORM FIELD '" + FORMFIELDNAME + "' ON " + ARQPDF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSCRIPT.QUIT(1)<br>&nbsp; END IF<br>NEXT<br><br>It looks like after a while, all of the form fields will have a blank name.<br><br>Is it supposed to be like that ?<br><br>I'm doing it all cause I'm "lost" with a problem posted on another topic, where a damaged PDF is generated, that is, a PDF with wrong field contents....<br><br>Thanks again !<br>]]>
   </description>
   <pubDate>Tue, 27 Nov 2007 05:15:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3951.html#3951</guid>
  </item> 
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : This is the classic changing reference...]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3947.html#3947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=115">chicks</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 26 Nov 07 at 2:20PM<br /><br />This is the classic changing reference issue.  As you flatten the fields, the internal reference numbers of form fields changes.  What was FF1 no longer exists, so what was FF2 is now FF1, etc.  <br /><br />Simple solution is to FlattenFormField(1), instead of LNI.  Another is to flatten in reverse order, from LNT to 1 step -1<br /><br />Try this:<br /><br /><font face="Courier New, Courier, mono"><br />Option Explicit<br /><br />Dim ObjArgs<br />Dim ObjQpdf<br />Dim ArQpdf<br />Dim Lni<br />Dim Lnt<br />Dim FormFieldName<br /><br />Set ObjArgs=Wscript.Arguments<br /><br />ArQpdf=ObjArgs(0)<br /><br />Set ObjQpdf=Wscript.CreateObject("ised.quickpdf")<br /><br />If  Not Objqpdf.UnlockKey("MY_KEY") = 1 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Echo "could Not Unlockkey"<br />&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Quit(1)<br />End If<br /><br />If  ObjQpdf.LoadFromFile(ArQpdf) = 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Echo "could Not Load Template"<br />&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Quit(1)<br />End If<br /><br />Lnt=ObjQpdf.FormFieldCount()<br /><br />WScript.Echo Lnt & " fields found"<br /><br />For Lni=lnt To 1 Step -1<br />  FormFieldName=ObjQpdf.GetFormFieldTitle(Lni)<br />  WScript.Echo Lni & Chr(9) & FormFieldName<br />  If  Not ObjQpdf.FlattenFormField(lni) = 1 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Echo "error While Flattening This Form Field '" & FormFieldName & "' On " & Arqpdf,lni<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.Quit(1)<br />  End If<br />Next<br /><br /></font><span style="font-size:10px"><br /><br />Edited by chicks - 26 Nov 07 at 3:13PM</span>]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 14:20:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3947.html#3947</guid>
  </item> 
  <item>
   <title><![CDATA[Empty &#102;orm field &#111;n a PDF : I have a PDF template , which...]]></title>
   <link>http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3946.html#3946</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=153">jabaltie</a><br /><strong>Subject:</strong> 841<br /><strong>Posted:</strong> 26 Nov 07 at 1:56PM<br /><br />I have a PDF template , which is a PDF with empty form fields.<br><br>This PDF template was designed using Open Office Writer.<br><br>I suspect this PDF template has some problem, that is, there's a bug on Open Office Writer OR there's some problem with the FlattenFormField function.....<br><br><br>Please take a look at the VBScript below. It loops across the PDF template form fields and flattens them all. <br><br>Get the PDF template to use on this VBScript code from here :<br><br>http://www.DES.online.unimep.br/au/pub/ag284d.pdf<br><br>Follows the source code :<br><br>=====================<br>OPTION EXPLICIT<br><br>DIM OBJARGS<br>DIM OBJQPDF<br>DIM ARQPDF<br>DIM LNI<br>DIM LNT<br>DIM FORMFIELDNAME<br><br>SET OBJARGS=WScript.Arguments<br><br>ARQPDF=OBJARGS(0)<br><br>SET OBJQPDF=WSCRIPT.CREATEOBJECT("ISED.QUICKPDF")<br><br>IF&nbsp; NOT OBJQPDF.UNLOCKKEY("yourkeyhere") = 1 THEN<br>&nbsp;&nbsp;&nbsp; WSCRIPT.ECHO "COULD NOT UNLOCKKEY"<br>&nbsp;&nbsp;&nbsp; WSCRIPT.QUIT(1)<br>END IF<br><br>IF&nbsp; OBJQPDF.LOADFROMFILE(ARQPDF) = 0 THEN<br>&nbsp;&nbsp;&nbsp; WSCRIPT.ECHO "COULD NOT LOAD TEMPLATE"<br>&nbsp;&nbsp;&nbsp; WSCRIPT.QUIT(1)<br>END IF<br><br>LNT=OBJQPDF.FORMFIELDCOUNT()<br><br>FOR LNI=1 TO LNT<br>&nbsp; FORMFIELDNAME=OBJQPDF.GETFORMFIELDTITLE(LNI)<br>&nbsp; IF&nbsp; NOT OBJQPDF.FLATTENFORMFIELD(LNI) = 1 THEN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSCRIPT.ECHO "ERROR WHILE FLATTENING THIS FORM FIELD '" + FORMFIELDNAME + "' ON " + ARQPDF,LNI<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSCRIPT.QUIT(1)<br>&nbsp; END IF<br>NEXT<br><br>================<br><br><br>Finally, questions are :<br><br>Is this PDF template (http://www.DES.online.unimep.br/au/pub/ag284d.pdf) wrong or, is there some problem on FlattenFormField function ?<br><br>Where does that empty form field comes from ? Cause it doesnt appear when I open the template using Acrobat Reader....<br><br>For those skilled with Adobe PROfessional, are there any tools on it that we can use to find out WHERE is the empty field on this PDF ?<br><br>Thanks in advance 4 your support !]]>
   </description>
   <pubDate>Mon, 26 Nov 2007 13:56:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/empty-form-field-on-a-pdf_topic841_post3946.html#3946</guid>
  </item> 
 </channel>
</rss>