Print Page | Close Window

Big problem formfield duplicate with the same name

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=3649
Printed Date: 28 Apr 24 at 5:17AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Big problem formfield duplicate with the same name
Posted By: RoskOrko
Subject: Big problem formfield duplicate with the same name
Date Posted: 14 Dec 18 at 8:27AM
if in the 16.11 release we try to execute the following code :
QP.NewFormField('Name', 1);
QP.SetFormFieldBounds(1, 100, 500, 200, 100);
QP.SetFormFieldBorderColor(1, 1, 0, 0);

QP.NewFormField('Name', 1);
QP.SetFormFieldBounds(2, 100, 400, 200, 100);
QP.SetFormFieldBorderColor(2, 0, 1, 0);
QP.SaveToFile('dupfields.pdf');

it happens that the second form field is not visible and can not be modified.


this is a big problem that makes the version unusable.Angry


with respect




Replies:
Posted By: Ingo
Date Posted: 14 Dec 18 at 11:18AM
Hi Ross,

you can't have two formfields with the same name on one page - this won't work (like you've mentioned ;-)
Please have a look on other functions like FindFormFieldByTitle - this won't be possible if there are not unique formfieldnames on a page.

Cheers and welcome here,
Ingo



-------------
Cheers,
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