Foxit Quick PDF Library

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:


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

int FieldID = QP.FindFormFieldByTitle("Details.Name");
QP.SetFormFieldChildTitle(FieldID, "FirstName");

This article refers to a deprecated product. If you are looking for support for Foxit PDF SDK, please click here.

Updated on May 16, 2022

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: