Use Dropdown Export Values and Custom Text in Acrobat Forms
Question details
Configure a dropdown in an Acrobat form to retain predefined export values while accepting custom text.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A form has a dropdown with predefined choices and an OTHER option for responses not listed.
- Observed behavior
- Predefined selections should return their export values, while a user can supply a custom response.
Open the PDF in Adobe Acrobat and make sure you can edit its form fields using Prepare a form. List the dropdown labels and their intended export values, including the value for OTHER.
Allow custom text and map dropdown labels to export values
Use an editable dropdown and a validation script when a single field can contain either a predefined export value or custom text.
An editable dropdown allows typing for any selection, not only OTHER. A custom entry replaces the selected value, so the field cannot simultaneously store both the OTHER export value and the custom text.
In Acrobat, select All tools > Prepare a form, then double-click the dropdown field to open its properties.
On the Options tab, add each item and its export value, including OTHER. Select Allow user to enter custom text.
On the Validate tab, select Run custom validation script, click Edit, and enter: var f = event.target; var v = String(event.value); var i; // Keep an existing export value unchanged. for (i = 0; i < f.numItems; i++) { if (v === String(f.getItemAt(i, true))) break; } // Otherwise, map a matching display label to its export value. if (i === f.numItems) { for (i = 0; i < f.numItems; i++) { if (v === String(f.getItemAt(i, false))) { event.value = f.getItemAt(i, true); break; } } }
Close the properties, use Preview in Prepare a form, and select several choices. Select OTHER, click in the editable dropdown, replace its text with a custom response, and move to another field. Check the saved or exported form data for each case.

Keep the OTHER export value in a separate dropdown field
Use a separate text field when the form data must retain both the OTHER selection and the user's custom response.
Use WPS Office for everyday PDF and document work
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office files. Its format compatibility helps you move existing documents into a single workspace. Use Acrobat to configure and test the form-specific validation script described above.

Frequently Asked Questions
Where do I set a dropdown's export values in Acrobat?
Open All tools > Prepare a form, double-click the dropdown, and use the Options tab to add each item and its export value.
Can I allow typing only after someone selects OTHER?
The Allow user to enter custom text setting makes the dropdown editable generally, not just for OTHER. For a clearer workflow, add a separate text field labeled for OTHER responses.
Can one dropdown store both the OTHER export value and custom text?
No. A custom entry becomes the dropdown's value. Use a separate text field if the exported data must include both the OTHER value and the custom response.
How do I check whether the form returns the right values?
In Prepare a form, select Preview and try predefined choices and custom text. Then save or export the form data and inspect the dropdown and any separate response field.




