PDF Editing Issues

Fix an Acrobat Form Script That Stops After 25 Combo Box Values

Elise WilliamsElise Williams Nov 19, 2026 869 views

Question details

Find why an Acrobat form script stops updating a dependent field for some combo box selections.

Fix an Acrobat Form Script That Stops After 25 Combo Box Values
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the console

Open the PDF in Acrobat, then press Ctrl+J on Windows or Command+J on macOS to open the JavaScript console.

2
Reproduce the problem

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.

3
Inspect the form script

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.

4
Correct and retest

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.

Use Acrobat's JavaScript console to find the script error
Check stored values: If combo box items have export values, make sure the script compares against the values the field actually returns, rather than only the visible item labels.
Free Microsoft Office alternative

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.

Open and work with PDFs alongside other documentsCompatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXFamiliar interface for everyday document tasksFree, lightweight office suite
microsoft office alternative - wps office

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.