Print Page | Close Window

SetFormFieldValue...

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=424
Printed Date: 26 May 24 at 1:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SetFormFieldValue...
Posted By: Ingo
Subject: SetFormFieldValue...
Date Posted: 30 May 06 at 5:39PM
Hi!

I've problems while filling formfields. The new values are filled in (i can control it with GetFormField), the fields are visible and the types are text. What can be the reason that i can't see my field-content when opening the pdf-file with a reader? Even if i'm doing the text extraction i get the values... but they are inside ;-)
I've tried
SetFormFieldValue
FlattenFormField
SaveToFile
with no success.
I've tried
SetNeedAppearances(1)
SetFormFieldValue
UpdateAppearanceStream(x)
with no sucess.
The values are always inside but i've never seen them.

Thanks a lot for any helping tipps or a code snippet.

Best regards,
Ingo





Replies:
Posted By: PDFman
Date Posted: 31 May 06 at 1:38AM
I use SetFormFieldValueByTitle and it works always.


Posted By: Ingo
Date Posted: 31 May 06 at 5:28PM
Hi!

I think i've working too long on this problem-pdf-example-file ;-)
Using other pdf-files all works :-))
Now there's still the question why i can't see my inputs in the problem-file.
I've found out now that i can see my inputs when i'm using the Acrobat Reader! With Foxit Reader i don't see my inputs in the problem-file - in other files it's okay with Foxit, too. What's so special in this file that i can see the inputs with Acrobat but not with Foxit?
In the file there are 48 formfields. Two are named "Name" and "Name.". They includes my first name "Ingo".
Perhaps somebody here wants to look at the file:
http://www.is-soft.de/makler.pdf
Thanks a lot for any hint or advice!

Best regards,
Ingo


Posted By: chicks
Date Posted: 01 Jun 06 at 12:36AM
I don't know if this is causing the problem with Foxit, but you normally use "."'s in PDF field names to show heirarchy, e.g. :

Customer.Name.First
Customer.Name.Last
Customer.Name.Middle
Customer.Address.Street
Customer.Address.City

etc.

Perhaps Foxit doesn't like the dangling "." at the end of the fieldname, and expects more.


Posted By: Ingo
Date Posted: 01 Jun 06 at 2:04AM
Thanks a lot!
That seems to be logical for me ;-)

Best regards,
Ingo



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