---
title: "PDF form field editor on iOS | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/ios/forms/create-edit-and-remove/edit-fields/"
md_url: "https://www.nutrient.io/guides/ios/forms/create-edit-and-remove/edit-fields.md"
last_updated: "2026-06-08T17:11:05.541Z"
description: "Nutrient enables you to programmatically edit, add, and remove form fields and form elements in a document."
---

# PDF form field editor on iOS

Nutrient enables you to programmatically edit, add, and remove form fields and form elements in a document.

## Renaming form fields

Due to internal constraints, form field names can’t be renamed using a [`PDFFormField`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformfield) or [`FormElement`](https://www.nutrient.io/api/ios/documentation/pspdfkit/formelement) instance. It is, however, possible to rename them using [`Processor`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor). See [`formFieldNameMappings`](https://www.nutrient.io/api/ios/documentation/pspdfkit/processor/configuration/formfieldnamemappings). You can pass in a dictionary containing your source form field name and the new form field name.

As an example, this can be useful if you have a template PDF with form fields that needs to be appended to a different PDF file. Form field names must be unique, and it wouldn’t be possible to append the same template multiple times without changing the names.

Note that renaming form field names requires the [Document Editor](https://www.nutrient.io/guides/ios/features/document-processing.md) component to be enabled for your license.

## Removing form fields and form elements

You can remove any form field or form element from a document using [`PDFFormParser`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformparser). Just call either [`remove(_:)`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformparser/remove(_:)) or [`removeFormFields(_:)`](https://www.nutrient.io/api/ios/documentation/pspdfkit/pdfformparser/removeformfields(_:)).
---

## Related pages

- [How to disable PDF form editing on iOS devices](/guides/ios/forms/create-edit-and-remove/disable-editing.md)
- [PDF form field flags on iOS](/guides/ios/forms/create-edit-and-remove/form-field-flags.md)
- [Form object model on iOS](/guides/ios/forms/create-edit-and-remove/form-object-model.md)
- [Programmatically add signature fields to PDF forms](/guides/ios/forms/create-edit-and-remove/add-signature-field.md)
- [Creating fillable PDF forms on iOS](/guides/ios/forms/form-creation.md)

