<?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 : SetFormFieldValue</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 : SetFormFieldValue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 07:38:08 +0000</pubDate>
  <lastBuildDate>Wed, 03 Jun 2009 12:43:07 +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=1096</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[SetFormFieldValue : I saw that in an earlier post...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5116.html#5116</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1085">HMArnold</a><br /><strong>Subject:</strong> 1096<br /><strong>Posted:</strong> 03 Jun 09 at 12:43PM<br /><br /><P>I saw that in an earlier post of your and had tried that with no effect.</P><DIV>After I checked the encyption status I saw the original PDF was protected, so I used the DecryptFile function first, and that allowed me to change the fields.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your help!</DIV><DIV>&nbsp;</DIV><DIV>Hank</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jun 2009 12:43:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5116.html#5116</guid>
  </item> 
  <item>
   <title><![CDATA[SetFormFieldValue : Hi!With your code the values are...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5113.html#5113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1096<br /><strong>Posted:</strong> 03 Jun 09 at 6:17AM<br /><br />Hi!<br><br>With your code the values are inside the formfields ... but not visible.<br>If you want to make formfield-content visible you have to change the content to text.<br>Please read about the function "FlattenFormField" that's what you need.<br><br>Cheers, Ingo<br><br>]]>
   </description>
   <pubDate>Wed, 03 Jun 2009 06:17:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5113.html#5113</guid>
  </item> 
  <item>
   <title><![CDATA[SetFormFieldValue : When I run the following code,...]]></title>
   <link>http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5112.html#5112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1085">HMArnold</a><br /><strong>Subject:</strong> 1096<br /><strong>Posted:</strong> 03 Jun 09 at 12:48AM<br /><br />When I run the following code, I get a count of 19 fields available, but after I run it I get a new PDF but the fields have no data:<DIV>&nbsp;</DIV><DIV>procedure TForm1.ScanButtonClick(Sender: TObject);<BR>var Fields, x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : integer;<BR>&nbsp;&nbsp;&nbsp; ExptFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : string;<BR>&nbsp;&nbsp;&nbsp; PDF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : TQuickPDF0712;<BR>begin<BR>&nbsp; ExptFile := 'Test.pdf';<BR>&nbsp; PDF := TQuickPDF0712.Create;<BR>&nbsp; try<BR>&nbsp;&nbsp;&nbsp; if PDF.UnlockKey('xx') &lt;&gt; 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then Raise EInvalidOp.Create('invalid unlock code');<BR>&nbsp;&nbsp;&nbsp; if PDF.LoadFromFile(MasterPDF) &lt;&gt; 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then Raise EInvalidOp.Create('unable to open PDF file : '+MasterPDF);<BR>&nbsp;&nbsp;&nbsp; PDF.SetNeedAppearances(1);<BR>&nbsp;&nbsp;&nbsp; Fields := PDF.FormFieldCount;<BR>&nbsp;&nbsp;&nbsp; ListBox1.Items.Add('Form Fields : '+IntToStr(Fields));<BR>&nbsp;&nbsp;&nbsp; for x := 1 to Fields do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if PDF.SetFormFieldValue (x,'Test '+IntToStr(x)) = 1 then ListBox1.Items.Add('ok');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PDF.UpdateAppearanceStream(x);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; if PDF.SaveToFile(ExptFile) &lt;&gt; 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then Raise EInvalidOp.Create('unable to save PDF file : '+ExptFile);<BR>&nbsp;&nbsp;&nbsp; ListBox1.Items.Add('File saved : '+ExptFile);<BR>&nbsp;&nbsp;&nbsp; except Raise EInvalidOp.Create('PDF operation error');<BR>&nbsp; end;<BR>end;<BR></DIV><DIV>Does anyone have example code?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jun 2009 00:48:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setformfieldvalue_topic1096_post5112.html#5112</guid>
  </item> 
 </channel>
</rss>