PDF Editing Issues

Create a PDF Drop-Down Menu That Fills Multiple Fields in Adobe Acrobat Pro

Rana GarciaRana Garcia Nov 19, 2026 868 views

Question details

Create a PDF form drop-down that fills separate employee name, title, and company fields.

Create a PDF Drop-Down Menu That Fills Multiple Fields in Acrobat Pro
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
A form user selects an employee from a drop-down menu.
Observed behavior
The selected employee's details should appear in three separate fields.
Before you start

Check the exact Adobe application and version, since form editing and scripting features vary. Prepare the employee names, titles, and companies you want to include in the drop-down mapping.

Solution 1Recommended

Use a Drop-Down Validation Script in Acrobat Pro

Use this method when you can edit the PDF form in Acrobat Pro and want one selection to populate three text fields.

1
Open the form editor

Open the PDF in Acrobat Pro and choose All tools > Prepare a form. In some versions, use Tools > Prepare Form.

2
Create the form fields

Add a drop-down field and three text fields. In each text field's Properties dialog, set its name to EmployeeName, EmployeeTitle, or EmployeeCompany, respectively.

3
Add the employee choices

Open the drop-down field's Properties dialog and select Options. Add choices such as Alice Smith and Bob Jones, using those same values as their export values. Enable Commit selected value immediately if the option is available.

4
Add the mapping script

In the drop-down Properties dialog, open Validate, select Run custom validation script, and click Edit. Enter the script below, replacing the example entries with your own. The keys must match the choices' export values, and the field names must match the names in your form. var employees = { "Alice Smith": ["Alice Smith", "Manager", "Acme Inc."], "Bob Jones": ["Bob Jones", "Analyst", "Example Corp."] }; var key = String(event.value); var data = Object.prototype.hasOwnProperty.call(employees, key) ? employees[key] : ["", "", ""]; this.getField("EmployeeName").value = data[0]; this.getField("EmployeeTitle").value = data[1]; this.getField("EmployeeCompany").value = data[2];

5
Test the selections

Close the Properties dialog, click Preview in Prepare a form, and select each employee. Confirm that all three text fields change to the matching values, then save the PDF.

Use a Drop-Down Validation Script in Acrobat Pro
Viewer support matters: The form requires a PDF viewer that supports Acrobat form JavaScript and has JavaScript enabled. If Commit selected value immediately is unavailable, the fields may update only after the user leaves the drop-down.
Free Microsoft Office alternative

View PDF Forms and Work with Office Files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for viewing PDFs and working with Office documents. Its format compatibility makes it easy to bring existing files into your workflow. It does not replace Acrobat Pro's form-scripting setup described above.

Open and view PDF forms alongside other documentsCompatible with Microsoft Office formats such as DOCX, XLSX, and PPTXFamiliar interface for a smoother transition from Microsoft OfficeFree, lightweight tools for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Why don't the text fields update when I select an employee?

In Prepare a form, check that the text field names match the names in the script and that each drop-down export value matches a key in the employee mapping. Also check that JavaScript is enabled in the PDF viewer.

Can the drop-down show one label but use a different value in the script?

Yes. In the drop-down Properties > Options tab, set the displayed item and its export value. Use the export value as the corresponding key in the script.

How do I add another employee?

Add a choice in the drop-down Properties > Options tab, then add a matching entry to the employees object in the Validate tab's custom script. Include the employee's name, title, and company in that order.

Will the fields update in every PDF viewer?

Not necessarily. The viewer must support the form JavaScript used by the PDF and allow it to run. Test the saved form in the viewer your recipients will use.