Skip to main content
Known Participant
February 3, 2016
Question

set name of form field

  • February 3, 2016
  • 1 reply
  • 381 views

In looking through the documentation of the Acrobat SDK, it seems as if the name of an existing form field is read only.

Is this true, or is there some method that I am missing?

James

This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
Community Expert
February 3, 2016

That is correct, with the JavaScript API you cannot rename a form field. Depending on what properties you've set in the field, you may be able to re-create it with the new name, and then delete the old one. The problem with this is that there are properties that cannot be retrieved from a field, you can only set them via JavaScript. The click/validation/formatting/calculation event handlers are examples for these "write-only" properties.