Fix an Acrobat Form Script That Stops After 25 Combo Box Values
Question details
Find why an Acrobat form script stops updating a dependent field for some combo box selections.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A PDF form uses a combo box with more than 25 values to update another field.
- Observed behavior
- The dependent field stops updating after a certain combo box item is selected, even though the list contains additional values.
Open the PDF in Acrobat and identify the combo box, the dependent field, and the first selection that fails. Make sure JavaScript is enabled in Acrobat's JavaScript preferences so you can test the form script.
Use Acrobat's JavaScript console to find the script error
Check the console while reproducing the problem, then correct the script or field reference identified by the error.
A failure after the 25th item is not necessarily an Acrobat combo box limit. A script error or a missing mapping for later values can cause the dependent field to stop updating.
Open the PDF in Acrobat, then press Ctrl+J on Windows or Command+J on macOS to open the JavaScript console.
Select a working item in the combo box, then select an item after the 25th value. Check the console for an error message and its reported line.
Open Prepare a Form, right-click the relevant field, and select Properties. Check the Actions, Validate, or Calculate tab, depending on where the script is attached.
Review the reported line for array indexes, quotation marks, commas, brackets, and field names. Confirm that every referenced field exists and that the script handles each combo box value, then save the PDF and test selections beyond the 25th item.

Work with PDF and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office documents and PDFs. Its format compatibility helps make moving everyday files between office suites straightforward. Use Acrobat to debug Acrobat-specific form scripts.

Frequently Asked Questions
Does Acrobat limit combo boxes to 25 values?
A script stopping after the 25th value does not by itself indicate a combo box limit. Check the JavaScript console for errors and verify that the script covers all listed values.
How do I open Acrobat's JavaScript console?
In Acrobat, press Ctrl+J on Windows or Command+J on macOS. Select a failing combo box item and inspect the console for an error message.
Where can I find the script attached to a form field?
Open Prepare a Form, right-click the relevant field, and select Properties. Look under Actions, Validate, or Calculate, depending on how the script was added.
Why does a selection fail even though its label looks correct?
The item may have an export value different from its visible label. Check the combo box's Options tab in field Properties and compare its stored values with the values used in the script.




