Print Page | Close Window

Exporting Form Fields to file changes value

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=3002
Printed Date: 25 Jan 26 at 7:19PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Exporting Form Fields to file changes value
Posted By: connerdk
Subject: Exporting Form Fields to file changes value
Date Posted: 07 Nov 14 at 2:22PM
I have a PDF document with several form fields in it.

I filled every field with a unique value 1,2,3,4....a,b,c,d,e using SetFormFieldValue and UpdateAppearanceStream functions. Afterwards i call SaveToFile.

In the written PDF file the values are wrong 2 fields are empty and several other contains same value, e.g. several formfields with 'c' or several with 'b'.

I inspected the PDF and there are many fields with same name, but i think QuickPDF should be able to handle them differently based on index instead of name anyway?

Also some fields are named with speciel letters like 'å' in "Fråndatum.", could this be an issue?

Best regards



Replies:
Posted By: connerdk
Date Posted: 07 Nov 14 at 2:42PM
hmm, adobe reader works the same way, if you edit a formfield with a named used by other form fields, then all are updated. I guess its not a bug, just up to me to loop and update all indexes that have same name as the field i am changing.



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