Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Renaming Fields
  FAQ FAQ  Forum Search   Register Register  Login Login

Renaming Fields

 Post Reply Post Reply
Author
Message
PDFNow View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Dec 11
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PDFNow Quote  Post ReplyReply Direct Link To This Post Topic: Renaming Fields
    Posted: 14 May 19 at 8:42AM
Hi.

We got an PDF with Formfields (Parnents and Childs). Now we are renaming the Childfields, so there is no connection anymore to the parent field.

We using "SetFormFieldTitle" to rename and it works. But not in a way we like to.

Example:

Before renaming
Parentfield = "Textbox1"
Childfield = "Textbox1."

After renaming
Parentfield = "Textbox1"
Childfield = "Textbox1.NewName"

We just want the NewName as FormFieldTitle without the Parentname.

Our QuickPDF Version is 11.15.

Wolfgang
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 2960
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 19 at 5:15PM
Hi Wolfgang,

you should read in the online reference in the description belonging to SetFormFieldTitle;-)
There you can read "...renames the title of a parent form field...". Additionally: "...you have to make sure that the name is unique...".
But this is NOT for child fields.
BTW: I don't know that you've extracted the complete form field name.
Don't know if only QuickPDF has probs with more than one field with the same name but i don't think that your pdf has one name twice?
There's no functionality in the library to rename child fields.
What you can do ( i wouldn't do this) is to remove the child field and use NewChildFormField:
https://www.debenu.com/docs/pdf_library_reference/NewChildFormField.php
...with a new title.


Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store