How to Copy All Items from One PDF Drop-Down List to Another
Question details
The user wants to duplicate an entire list of options from one PDF drop-down field to a separate field, rather than just copying the currently selected value.

- Product
- Device & OS
- not provided
- Scenario
- Editing or creating interactive PDF forms that require multiple drop-down fields with identical options.
- Observed behavior
- When copying fields or using basic scripts, only the currently selected value is transferred. The goal is to successfully migrate the full list of options to a new drop-down field.
Ensure you have a PDF editor with comprehensive form-editing capabilities and that the document does not have security restrictions preventing form modifications.
Duplicate the Drop-Down Field in Form Editing Mode
The most efficient way to copy all items in a drop-down list is to manually copy the entire form field and rename it to make it independent.
Instead of extracting the list items one by one, you can duplicate the entire drop-down field. This retains all the options, export values, and formatting.
Open your PDF document and access the form editing tools (e.g., click on the 'Form' tab in WPS Office or 'Prepare Form' in Adobe Acrobat).
Select the existing drop-down list that contains the items you want to copy. Right-click and choose 'Copy', or press Ctrl+C on your keyboard.
Right-click on the desired location in your PDF document and choose 'Paste', or press Ctrl+V.
Double-click the newly pasted drop-down field to open its Properties. Change the 'Name' of the field to something unique so it operates independently from the original.

Use JavaScript to Copy Drop-Down Options Programmatically
If you are using scripts to populate an existing destination field with the items from a source field, use JavaScript to iterate through the export values.
Easily Edit PDF Forms with WPS Office
WPS Office provides professional PDF form editing tools, enabling you to add, copy, modify, and duplicate drop-down lists, text fields, and checkboxes quickly without needing complex JavaScript.
- 1. Open the PDF: Launch WPS Office and open your PDF form document.
- 2. Navigate to the Form Tab: Click on the 'Form' tab on the top ribbon to access all interactive form tools.
- 3. Select the Drop-Down Field: Click on the source drop-down list to select it, then press Ctrl+C to copy the entire element.
- 4. Paste and Customize: Press Ctrl+V to paste the field elsewhere. Double-click it to rename it and adjust the list options as needed.

Frequently Asked Questions
Why do the original and copied drop-down fields change together?
In PDF forms, fields that share the exact same name are functionally linked. To make them independent so they can hold different selections, you must open the field properties and give the copied field a unique name.
Can I copy a drop-down list from one PDF document to another?
Yes. Open both PDF documents in your PDF editor's Form Editing mode. Copy the drop-down field from the first document, switch to the second document, and paste it. All list options will be preserved.
How do I add or remove items from the copied drop-down list?
Double-click the duplicated drop-down field to open its Properties window. Navigate to the 'Options' tab, where you can type new item names, set export values, and add or delete items from the list.
Why does my JavaScript only copy the selected value instead of the whole list?
Accessing the 'value' property of a drop-down field returns only the current selection. To get the entire list programmatically, you must use form field scripting methods (like getItemAt) to iterate through all options.




