Print Page | Close Window

missing field

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3460
Printed Date: 26 Apr 24 at 12:44PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: missing field
Posted By: thetoolwiz
Subject: missing field
Date Posted: 17 May 17 at 2:52AM
I'm using the trial license to build a prototype of something where I'm reading and editing form fields on a PDF file, using Delphi 7.

I've got it working to the point where I'm reading the fields and can edit values in a Delphi form, but am not writing to the PDF file yet.

I just noticed, however, that there's a field on the form that's editable and it's not showing up in the list of fields.

I'm displaying four values in a ListView:

* Field#
* Field Title
* Field Type
* Field Value

Note that I did not create the PDF -- it's one of the forms I need to work with.

The very first field at the top of the form contains a Claim Number.

My program is reading 12 fields, and there are 12 editable fields on the form. There's one with the Title of "undefined", but it has no value. All of the others match up between their Title and what's on the form.

Also, none of the fields I'm getting have a value matching the contents of the Claim Number field.

There are three other fields with contents in them, and my program is reading them fine.

I don't know if it makes any difference, but this Claim Number edit field has a thicker underline on it than the other editable fields.

Why might this Claim Number field not appear in the list of fields I'm getting from the API?



Replies:
Posted By: Ingo
Date Posted: 17 May 17 at 8:56AM
Hi,

i fear here's nobody for help without the sample.pdf and the relevant code snippet.
The code snippet you can post here together with a download-link for your sample.pdf (you can upload it to a free file hoster).
Starting here:
http://www.quickpdf.org/
...with "documentation" and "developer guide" searching for form field could be good help, too.

Cheers and welcome here,
Ingo
 


-------------
Cheers,
Ingo



Posted By: thetoolwiz
Date Posted: 17 May 17 at 5:15PM
AHA! It turns out I was indexing the form field loop from [0..n-1] instead of [1..n]. The "missing" field is actually field #n, even though it's at the very top of the form.

Problem solved!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk