<?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 : GetFormFieldPage - Checkbox</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 : GetFormFieldPage - Checkbox]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 00:17:49 +0000</pubDate>
  <lastBuildDate>Wed, 24 Apr 2019 20:48:46 +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=3699</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[GetFormFieldPage - Checkbox : ahhhh, sub-fields and kid-fields.......]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14759.html#14759</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 24 Apr 19 at 8:48PM<br /><br />ahhhh, sub-fields and kid-fields.... Thanks for the pointer...<div><br></div><div>Let me research everything I can about that and hopefully I can figure it out and how I should implement it. Then I will comeback and try to explain how its used, when and why for future developers.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 24 Apr 2019 20:48:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14759.html#14759</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : Hi Wayne,now i&amp;#039;ve understand...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14757.html#14757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 24 Apr 19 at 5:54PM<br /><br />Hi Wayne,<br><br>now i've understand ;-)<br>For my routines it's the same.<br>Perhaps with checkboxes it's the same but i know it from radio buttons.<br>Normal form fields have the index on the field itself - form fields with options have the index one level below (please think on my sample with "sex" and "male"/"female").<br>I think there is functionality as well in the library... the functions with "...kid..." or "...sub..." in the name could be worth a try.<br>I've helped myself while going through all form fields that a missing form field page number would be filled with the page number from the form field before or after.<br><br>]]>
   </description>
   <pubDate>Wed, 24 Apr 2019 17:54:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14757.html#14757</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : apparently the only fields in...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14756.html#14756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 24 Apr 19 at 2:02PM<br /><br />apparently the only fields in the pdf are the Acro fields:<div><br></div><div>when I call&nbsp;pdf.GetXFAFormFieldCount() I get back 0</div><div>when I call&nbsp;pdf.FormFieldCount I get back 66.</div><div><br></div><div>So to simplify the issue is simply why when I call:</div><div>pdf.GetFormFieldPage(FieldIX) do I get back a 0?</div><div><br></div><div>FieldIX is the incrementer in the following for loop:</div><div><div>&nbsp; &nbsp; for FieldIX := 1 to pdf.FormFieldCount do begin</div></div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 24 Apr 2019 14:02:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14756.html#14756</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : This isn&amp;#039;t the solution for...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14753.html#14753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 23 Apr 19 at 10:34PM<br /><br />This isn't the solution for your issue but it will give you an idea about the probs using acro and xfa...<br><br>https://www.debenu.com/kb/can-debenu-quick-pdf-library-print-pdf-forms-use-xfa-form-fields/<br><br>]]>
   </description>
   <pubDate>Tue, 23 Apr 2019 22:34:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14753.html#14753</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : What form fields you or the phantom...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14752.html#14752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 23 Apr 19 at 10:32PM<br /><br />What form fields you or the phantom are creating?<br>Acro or XFA?<br>For XFA QuickPDF offers only a small subset of functionalities.<br>A visible XFA field needs internally always two fields and not one - there could be the reason for your issue.<br>About the problem acro and xfa there is a kb-article on the Debenu pages.<br><br>]]>
   </description>
   <pubDate>Tue, 23 Apr 2019 22:32:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14752.html#14752</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : Yes, Yes and No.What you described...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14751.html#14751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 23 Apr 19 at 10:24PM<br /><br />Yes, Yes and No.<div><br></div><div>What you described is exactly the sample code I pasted before.</div><div>But before that, the PDF is being modified by PhantomPDF 9.x.</div><div>I am not aware of what XFA-fields are in terms of how I would use them.</div><div><br></div><div>So my delphi code is working with an existing PDF, it is not trying to create a pdf just read info from it.</div><div><br></div><div>It is looping through based on FormFieldCount.</div><div>The fact that it gets the field name of the checkbox with&nbsp;<span style=": rgb251, 251, 253; font-family: &quot;Courier New&quot;, Courier, mono;">GetFormFieldTitle(FieldIX) tells me it knows the checkbox is there. but then you call&nbsp;</span><span style=": rgb251, 251, 253; font-family: &quot;Courier New&quot;, Courier, mono;">GetFormFieldPage(FieldIX) and that returns 0.</span></div><div><span style=": rgb251, 251, 253; font-family: &quot;Courier New&quot;, Courier, mono;"><br></span></div>]]>
   </description>
   <pubDate>Tue, 23 Apr 2019 22:24:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14751.html#14751</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : Hi Wayne,you can upload your sample...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14749.html#14749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 23 Apr 19 at 10:07PM<br /><br />Hi Wayne,<br><br>you can upload your sample files and images to drop box or any other file hoster and post the link for us here in the forum.<br>To your actual issue:<br>What tool was used to generate the pdf?<br>Are there already XFA-fields inside?<br>As far as i understand GetFormFieldPage you can use it this way:<br>First you check the form field count...<br>Then you're in a loop working on your form fields...<br>The GetFormFieldPage(form field number) in the loop returns the page where the current form field is inside.<br>What i THINK is:<br>The GetFormFieldPage doesn't know your new checkbox right after creation?<br><br>]]>
   </description>
   <pubDate>Tue, 23 Apr 2019 22:07:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14749.html#14749</guid>
  </item> 
  <item>
   <title><![CDATA[GetFormFieldPage - Checkbox : OK, I know you guys are probably...]]></title>
   <link>http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14747.html#14747</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 3699<br /><strong>Posted:</strong> 23 Apr 19 at 7:20PM<br /><br />OK, I know you guys are probably tired of hearing from me, but I am hopeful if I can resolve any one of my issues that it may lead to resolving other issues.<div><br></div><div>I am using FoxIt PhantomPDF 9.4.1 to edit some pdfs.&nbsp;</div><div>In my Delphi 7 app using the QuickPDF 16.x and running the following code to list all the fields in this PDF.</div><div><br></div><div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; for FieldIX := 1 to qpdf.FormFieldCount do begin</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; sLine := ' Pg: '+IntToStr(qpdf.GetFormFieldPage(FieldIX))+</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Ht: '+FloatToStr(qpdf.GetFormFieldBound(FieldIX, PDF_Bound_Height))+</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;' Wd: '+FloatToStr(qpdf.GetFormFieldBound(FieldIX, PDF_Bound_Width));</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp;&nbsp;</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; sortedFields.Add(PadR(qpdf.GetFormFieldTitle(FieldIX), maxFldWidth) + sLine) ;</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; end ;</font></div></div><div><br></div><div>What I am finding is that for every checkbox I added to the form I am getting 0 from the GetFormFieldPage() method. Of course 0 means:</div><div>&nbsp;</div><span ="fontstyle0">The form field could not be found, or the form field does not have valid page<br>information</span> <br style=" font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans: n&#111;ne; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br></div><div>I have much logic to ignore fields that return 0 for the Page but this is a valid field.</div><div>Here is a snippet of the output from the above code:</div><div><div><font face="Courier New, Courier, mono">LC_DateMaturity&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Pg: 1 Ht: 12.658 Wd: 104.794</font></div><div><font face="Courier New, Courier, mono">LC_InterestMethod_30360or360360_Chk Pg: 0 Ht: 0 Wd: 0</font></div><div><font face="Courier New, Courier, mono">LC_InterestMethod_Actual360_Chk&nbsp; &nbsp; &nbsp;Pg: 0 Ht: 0 Wd: 0</font></div><div><font face="Courier New, Courier, mono">LC_InterestMethod_Actual365_Chk&nbsp; &nbsp; &nbsp;Pg: 0 Ht: 0 Wd: 0</font></div><div><font face="Courier New, Courier, mono">LC_InterestRateFixed_Chk&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pg: 0 Ht: 0 Wd: 0</font></div><div><font face="Courier New, Courier, mono">LC_InterestRateFixedRate&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pg: 1 Ht: 10.436 Wd: 42.41</font></div><div><font face="Courier New, Courier, mono">LC_InterestRateVariable_Chk&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Pg: 0 Ht: 0 Wd: 0</font></div><div><font face="Courier New, Courier, mono">LC_InterestRateVariableIndexRate&nbsp; &nbsp; Pg: 1 Ht: 10.4359999999999 Wd: 42.41</font></div></div><div><br></div><div>All the field names with _Chk are my checkbox fields.</div><div><br></div><div>I was gonna upload a screenshot of phantom editor with field highlighted but I can't figure out how to insert image into the post.</div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 23 Apr 2019 19:20:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/getformfieldpage-checkbox_topic3699_post14747.html#14747</guid>
  </item> 
 </channel>
</rss>