PDF Editing Issues

How to Add U.S. State and Country Drop-Down Lists to Acrobat PDF Forms

John WilsonJohn Wilson Oct 28, 2026 868 views

Question details

The user needs to add a drop-down list of U.S. states or countries to a PDF form without having to manually type out every single entry.

How to Add U.S. State and Country Drop-Down Lists to PDF Forms
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Creating an interactive PDF form that requires a long drop-down selection for regional or geographical data.
Observed behavior
Acrobat does not feature a universal, built-in list of states or countries for form fields, making manual entry tedious and time-consuming.
Before you start

Ensure you have access to a PDF editor with advanced form creation capabilities, and prepare a plain text list or array of the states/countries you wish to include.

Solution 1Recommended

Populate the Field Using the JavaScript setItems Method

Use a simple document JavaScript to automatically pass an array of states or countries into your drop-down field, saving you from manual entry.

By utilizing Acrobat's JavaScript console, you can rapidly inject an array of items into a Combo Box. This method also allows you to specify both the display text (e.g., 'California') and the export value (e.g., 'CA').

1
Prepare the Drop-Down Field

Open your PDF in 'Prepare Form' mode. Add a Drop-Down field (Combo Box) to your form and name it appropriately, such as 'StateList'.

2
Open the JavaScript Console

Press Ctrl+J (Windows) or Cmd+J (Mac) to open the interactive JavaScript Debugger console in Acrobat.

3
Execute the setItems Script

Type the following command using your field name and array: getField('StateList').setItems([['New York', 'NY'], ['Texas', 'TX']]); Highlight the code and press Ctrl+Enter (or Cmd+Enter) to run it.

Populate the Field Using the JavaScript setItems Method
Custom Export Values: Formatting your array as [['Display Name', 'ExportValue']] ensures the form shows the full name to the user but sends the two-letter postal code when submitted.

Easily Create and Edit PDF Forms with WPS Office

Create professional interactive PDF forms, including customized drop-down lists, with WPS Office's intuitive PDF editing tools. It's a lightweight, highly compatible solution that simplifies form creation without requiring complex programming knowledge.

  1. 1. Open the PDF Form: Launch WPS Office and open your PDF document. Navigate to the 'Form' tab in the top ribbon.
  2. 2. Insert a Combo Box: Click on the 'Combo Box' tool and click anywhere on the page to insert the drop-down field.
  3. 3. Access Field Properties: Double-click the newly inserted drop-down field to open the Properties dialog box, then go to the 'Options' tab.
  4. 4. Add Drop-Down Items: Type the state or country name in the 'Item' box, assign an export value if needed, and click 'Add' to build your list.
  5. 5. Save the Document: Once your list is complete, close the properties window and save your interactive PDF.
Intuitive visual form builder for drop-downs, text fields, and checkboxesHighly compatible with standard Adobe Acrobat PDF formsLightweight application that runs smoothly on all devicesEasily set display text and export values for data collection
microsoft office alternative - wps office

Frequently Asked Questions

Does Adobe Acrobat have a built-in U.S. States list?

No, Acrobat does not include universal built-in drop-down lists for states or countries. Users must populate the fields manually, utilize a JavaScript array, or copy the field from a pre-made template.

Can a drop-down list show the full state name but export the 2-letter abbreviation?

Yes. When configuring the drop-down options in your PDF editor, you can set the 'Item Name' (Display Text) to the full state name (e.g., 'California') and the 'Export Value' to the abbreviation (e.g., 'CA').

How do I easily transfer a long drop-down list to another PDF?

The easiest way to transfer a populated drop-down list is to open both PDFs in form editing mode, copy the field from the source document, and paste it directly into your new document.