logo
search
PDF Security & Access Issues

Can You Use Custom SaveAs Buttons and Folder-Level Security for PDFs on iOS?

Maira MehtabMaira Mehtab Oct 18, 2026 869 views

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.

Folder-Level Security for Custom PDF SaveAs Buttons on iOS
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Original PDF Form

Launch your PDF reader on iOS and open the original PDF file directly from the Files app or your Dropbox integration.

2
Use the Native Duplicate Function

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'.

3
Rename and Save to Dropbox

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.

Use Native iOS File Duplication Instead of Custom Scripts
System Limitations: The JavaScript method doc.saveAs() requires folder-level security privileges that are simply not implemented in iOS PDF readers due to Apple's system architecture.
Efficient PDF Management

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. 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. 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. 3. Fill Out the Information: Use the built-in PDF tools to fill out the form fields or annotate the document as needed.
  4. 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.
Seamless integration with cloud services like Dropbox, Google Drive, and OneDriveBuilt-in 'Save As' and file renaming features native to the app interfaceHigh compatibility with standard PDF formats, annotations, and formsLightweight, free, and highly optimized for iOS and iPadOS devices
microsoft office alternative - wps office

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.