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 > General Discussion
  New Posts New Posts RSS Feed - NewFormField title with periods
  FAQ FAQ  Forum Search   Register Register  Login Login

NewFormField title with periods

 Post Reply Post Reply
Author
Message
BobW View Drop Down
Senior Member
Senior Member


Joined: 27 Feb 13
Location: Minnesota
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobW Quote  Post ReplyReply Direct Link To This Post Topic: NewFormField title with periods
    Posted: 31 Jan 17 at 9:23PM
The NewFormField method does not accept a period in the title but the SetFormFieldTitle does.  I needed to have a period in the title because the PDFs I am creating are being automatically filled in by another process and the title (name) of the form field is being referenced like a mail-merge and the field names contain titles.

I'm curious as to why periods are not allowed in NewFormField but mostly I'm writing this note so future users searching the forum will find this and see how they can programmatically create a form field with a period in the title.

Thx,

Bob
Back to Top
BobW View Drop Down
Senior Member
Senior Member


Joined: 27 Feb 13
Location: Minnesota
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobW Quote  Post ReplyReply Direct Link To This Post Posted: 31 Jan 17 at 10:41PM
Ah, I'm learning more about PDFs all the time!  The period is the delimiter for the parent/child relationship with Form Fields.  That explains why it's not a good character to have in the name.  Still, what I am doing seems to work just fine with the external process that fills in the fields.  I rewrote my program to separate the field names with periods into parent and child, then find the parent, get its index, and add the new form field as a child of that parent. Seems to work great!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 31 Jan 17 at 10:43PM
Hi Bob,

this is the user/user-forum ;-)
Perhaps it's better to post such things on the official support page of Debenu?

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