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!
NewFormField title with periods |
Post Reply |
Author | |
BobW
Senior Member Joined: 27 Feb 13 Location: Minnesota Status: Offline Points: 64 |
Post Options
Thanks(0)
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 |
|
BobW
Senior Member Joined: 27 Feb 13 Location: Minnesota Status: Offline Points: 64 |
Post Options
Thanks(0)
|
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!
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store