1. Home
  2. Foxit Quick PDF Library
  3. Rename an existing form field programmatically

Rename an existing form field programmatically

It is possible to rename a form field programmatically using the SetFormFieldChildTitle function in Foxit Quick PDF Library.

Say for example that you have a parent field called Details, with child fields Name and Address, the full field names will be:

Details.Name
Details.Address

If you wanted to change Details.Name to Details.FirstName you can use:

int FieldID = QP.FindFormFieldByTitle("Details.Name");
QP.SetFormFieldChildTitle(FieldID, "FirstName");
Updated on January 30, 2018

Was this article helpful?

Related Articles

Ready to try Foxit PDF SDK?
Click the link below to download your trial
Free Trial

Leave a Comment