PDF Editing Issues

Fix a Missing OK Button in Acrobat's JavaScript Calculation Editor

Camila MilosovichCamila Milosovich Nov 19, 2026 868 views

Question details

The user needs to confirm a calculation script in Acrobat's form JavaScript editor when the OK button is not visible.

Fix a Missing OK Button in Acrobat's JavaScript Calculation Editor
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Editing a JavaScript calculation for a PDF form field.
Observed behavior
The editor shows Cancel and Go To, but the OK button is not visible.
Before you start

Open the affected PDF form in Acrobat and return to the calculation script editor. Check whether the editor window or field has a draggable edge or corner.

Solution 1Recommended

Enlarge the Acrobat JavaScript editor to reveal OK

Use this when the editor is too small to show all of its confirmation controls.

1
Resize the editor

In the JavaScript editor, drag a window edge or corner outward to make the editor larger. If the editor field itself is resizable, enlarge it as well.

2
Confirm the script

Look for the OK button in the expanded editor and select it to confirm the calculation script.

3
Adjust the display if needed

If the button is still off-screen, open your device's display settings and reduce the display scaling or use a higher supported screen resolution. Then reopen the editor and check for OK.

Enlarge the Acrobat JavaScript editor to reveal OK
Save the form: After confirming the script, use Acrobat's File > Save to save your PDF changes.
Free Microsoft Office alternative

Work with PDFs and Office files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility makes it easier to move existing files into your workflow. WPS does not fix Acrobat's JavaScript editor.

Open and work with PDF files alongside office documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for a smooth transition from Microsoft OfficeFree, lightweight suite for everyday document tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why can I see Cancel and Go To but not OK in Acrobat?

The editor area may be too small to display all its controls. Drag an edge or corner of the JavaScript editor outward and look for OK.

What if enlarging the editor does not reveal the OK button?

Open your device's display settings and try reducing display scaling or using a higher supported resolution. Reopen the Acrobat editor and check again.

How do I save the calculation after finding OK?

Select OK in the JavaScript editor to confirm the script, then use File > Save in Acrobat to save the PDF.

Can WPS Office fix the missing button in Acrobat?

No. The missing button is an Acrobat editor issue. WPS Office is an alternative for working with PDFs and Office documents, but it does not change Acrobat's interface.