Can You Use Custom SaveAs Buttons and Folder-Level Security for PDFs on iOS?
Question details
The user wants to know if iOS supports folder-level security to create a custom SaveAs button on a PDF form that automatically changes the filename when saving to cloud services like Dropbox.

- Product
- Adobe Acrobat Reader
- Device & OS
- iOS
- Scenario
- Attempting to trigger a custom JavaScript SaveAs button embedded in a PDF form to rename and save files pulled from Dropbox on an iOS device.
- Observed behavior
- The custom SaveAs button does not work on iOS because the required folder-level security and saveAs JavaScript functions are not supported; iOS apps automatically save changes continuously rather than using traditional Save As dialogues.
Keep in mind that iOS uses a strict app sandboxing environment, meaning desktop-level script functionalities and file-saving privileges operate very differently on iPhones and iPads.
Use Native iOS File Duplication Instead of Custom Scripts
Since the custom JavaScript saveAs function is not supported on PDF readers for iOS, you must rely on native iOS file management or app-specific saving tools to rename and save PDFs.
On iOS, the concept of a separately saved file via a scripted 'Save As' dialogue is not supported in the same way as on desktop operating systems. PDF readers on iOS generally auto-save changes continuously to the original file.
Furthermore, iOS security restrictions prevent folder-level JavaScript operations, meaning you cannot programmatically force a SaveAs action to an external service like Dropbox via an embedded PDF button.
Launch your PDF reader on iOS and open the original PDF file directly from the Files app or your Dropbox integration.
Instead of tapping a custom button on the form, tap the 'More' (three dots) or 'Share' icon in the app's top navigation bar, then select 'Save a Copy' or 'Duplicate'.
When prompted by the iOS file picker, type in your desired custom file name and choose your specific Dropbox folder as the destination to save the newly named copy.

Easily Manage and Save PDF Forms with WPS Office on iOS
While custom JavaScript SaveAs buttons are restricted by iOS, WPS Office provides an intuitive and seamless native interface to fill forms, duplicate files, and accurately rename your PDFs directly on your mobile device.
- 1. Install WPS Office for iOS: Download and install the free WPS Office application from the Apple App Store on your iPhone or iPad.
- 2. Open Your PDF Form: Launch WPS Office, navigate to the 'Files' tab, and connect your Dropbox account to open your target PDF form.
- 3. Fill Out the Information: Use the built-in PDF tools to fill out the form fields or annotate the document as needed.
- 4. Use the Save As Feature: Tap the 'Tools' icon at the bottom, switch to the 'File' tab, and select 'Save As' to easily type a new filename and choose a distinct save location.

Frequently Asked Questions
Why doesn't the JavaScript saveAs function work on iOS PDF readers?
iOS uses a strict sandboxing environment for all applications, meaning folder-level scripts cannot execute file-saving commands to external folders like Dropbox. Additionally, iOS relies on continuous auto-saving rather than manual 'Save As' prompts.
Can I use folder-level security scripts on mobile PDF editors?
No, folder-level security and trusted function scripts designed for desktop versions of PDF software (like Adobe Acrobat Pro on Windows or Mac) are typically not supported on mobile operating systems like iOS or Android.
How can I easily save a copy of my filled PDF form on an iPhone or iPad?
You can use the native 'Save a Copy', 'Duplicate', or 'Export' features found in the main menu of your PDF viewer (such as WPS Office or Apple's native Files app) to create a new file with a different name.




