How to Autofill an Address from a Dropdown Field in Adobe Acrobat
Question details
The user wants to automatically populate a specific address into a text field based on the office location selected from a dropdown list within a PDF form.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating interactive PDF forms with dynamic data mapping between fields.
- Observed behavior
- Requires a method or custom script to connect the dropdown selection to a corresponding address in a destination text field.
Ensure you have access to the 'Prepare Form' tools in Adobe Acrobat Pro and make note of the exact field name of your dropdown list before proceeding.
Use a Custom Calculation Script (Recommended)
Assign export values to your dropdown options and use a brief JavaScript code in the destination text field to pull the selected data automatically.
This method requires setting the actual address as the 'Export Value' for each dropdown option, then using a custom calculation script in the target field to display that value.
Open your PDF in Acrobat and enter 'Prepare Form' mode. Right-click your dropdown field, select 'Properties', and navigate to the 'Options' tab. Add the office location in the 'Item' box, and the corresponding full address in the 'Export Value' box. Click 'Add' for each location.
Right-click the text field where you want the address to appear and select 'Properties'.
Navigate to the 'Calculate' tab in the Properties window. Select 'Custom calculation script' and click the 'Edit' button.
Type the following script: event.value = this.getField("Dropdown1").value; (Be sure to replace "Dropdown1" with the exact name of your dropdown field). Click 'OK' and close the properties window to test the form.

Use a Third-Party Form Population Tool
If you prefer not to write or manage JavaScript code, you can use specialized third-party Acrobat plugins designed to populate fields.
Easily Manage and Fill PDF Forms with WPS Office
WPS Office provides a comprehensive suite of PDF tools, allowing you to seamlessly view, fill, and edit interactive PDF forms. Whether dealing with complex scripts or standard dropdowns, WPS PDF handles standard form structures with ease.
- 1. Download and Launch: Download and install WPS Office on your device, then launch the application.
- 2. Open Your PDF Form: Select the 'PDF' tab and open the interactive PDF form you need to fill out or manage.
- 3. Interact with Form Fields: Click directly into text boxes, dropdowns, and checkboxes to fill out your form smoothly.
- 4. Save and Export: Once completed, save your changes or export the filled PDF to share securely with others.

Frequently Asked Questions
Why is the address field remaining blank after selecting a dropdown option?
This usually happens if the destination text field doesn't have the custom calculation script configured correctly, or if the dropdown field name referenced in the script does not exactly match the actual name of your dropdown field.
Can I use multiple dropdowns to autofill multiple text fields in the same form?
Yes, you can apply the same custom calculation method to multiple text fields. Just ensure each text field's calculation script references the specific dropdown field name associated with it.
Do I need Adobe Acrobat Pro to add calculation scripts?
Yes, adding or editing form fields and configuring properties like custom calculation scripts requires Adobe Acrobat Pro or an advanced PDF form editing software. Free PDF readers typically only allow you to fill out forms, not create them.




