---
title: "Attach a file to PDF form field on iOS | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/ios/forms/fill-form-fields/attach-a-file/"
md_url: "https://www.nutrient.io/guides/ios/forms/fill-form-fields/attach-a-file.md"
last_updated: "2026-06-09T10:25:14.464Z"
description: "PDF files can use FileAnnotation or EmbeddedFile to embed other files — either PDFs or any other file type. See our embedded files guide to learn more."
---

# Attach a file to a PDF form field on iOS

PDF files can use [`FileAnnotation`](https://www.nutrient.io/api/ios/documentation/pspdfkit/fileannotation/embeddedfile) or [`EmbeddedFile`](https://www.nutrient.io/api/ios/documentation/pspdfkit/embeddedfile) to embed other files — either PDFs or any other file type. See our [embedded files](https://www.nutrient.io/guides/ios/features/embedded-files.md) guide to learn more.

Out of the box, Nutrient doesn’t provide the ability to attach files using drag and drop.

Attaching files using JavaScript on form fields isn’t supported.
---

## Related pages

- [Detect user input in PDF form fields on iOS](/guides/ios/forms/fill-form-fields/detect-user-input.md)
- [Fill PDF form fields programmatically on iOS](/guides/ios/forms/form-filling.md)
- [Undo and redo for PDF forms on iOS](/guides/ios/forms/fill-form-fields/undo-and-redo.md)
- [Add or edit images in PDF form fields on iOS](/guides/ios/forms/fill-form-fields/image-picker.md)
- [Form field support in our iOS viewer](/guides/ios/forms/fill-form-fields/using-the-ui.md)

