Print Page | Close Window

Rename Formfield

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: [Commercial] Foxit SDK / Foxit Library
Forum Description: High performance PDF libraries to render PDF pages, page objects, annotations, and forms the way they were intended to be viewed: sharp, clear, accurate, and easy to read.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=4018
Printed Date: 19 Oct 2019 at 6:19am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Rename Formfield
Posted By: Manuel Kiel
Subject: Rename Formfield
Date Posted: 13 Oct 2018 at 9:59am
Hi,

i'm using the PDFSDK Professional Active-X 5.4.0.1031 with Form-Function within Access 2003 (VBA)

I simply want to load a PDF File and rename all Formfields.
The PDFFormField.name Property is read only.
Is there another way to rename a Formfield?

Thanks for all your help...



Replies:
Posted By: gkaiseril
Date Posted: 14 Oct 2018 at 3:55pm
Add a new field, copy the properties of the existing field to the new field, then delete the old field if necessary. 


Posted By: Manuel Kiel
Date Posted: 15 Oct 2018 at 7:52am
Originally posted by gkaiseril gkaiseril wrote:

Add a new field, copy the properties of the existing field to the new field, then delete the old field if necessary. 

Is there no other way? 

There are Javascript-Actions to copy, 
i couldn't find a method to GetJavaScriptAction, 
just SetJavaScriptAction.



Posted By: Manuel Kiel
Date Posted: 15 Oct 2018 at 8:01am
Same Problem with the Combolist-Values


Posted By: BAlheit
Date Posted: 16 Oct 2018 at 9:07am
What kind of actions do you use?


Posted By: Manuel Kiel
Date Posted: 16 Oct 2018 at 9:52am
Originally posted by BAlheit BAlheit wrote:

What kind of actions do you use?
I use the "Mouse up" Action to write back Values to a Summary-Table
I use the "On/lost Focus" Actions to highlight the fields 



Posted By: BAlheit
Date Posted: 17 Oct 2018 at 6:54am
When you change the field names you must also change the Javascript code.


Posted By: Manuel Kiel
Date Posted: 17 Oct 2018 at 9:17pm
Originally posted by BAlheit BAlheit wrote:

When you change the field names you must also change the Javascript code.
Sure, but that's not my Problem.
Why isn't it possible to rename Fields?



Posted By: BAlheit
Date Posted: 18 Oct 2018 at 8:31am
When the property is read-only you can't change it.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net