PDF Editing Issues

Fix Missing Field JavaScript and Multiline Options in Adobe Acrobat Pro

Adam DavisAdam Davis Nov 19, 2026 868 views

Question details

The user needs to locate a form field's custom JavaScript and enable multiline input in Adobe Acrobat Pro DC.

Fix Missing Field JavaScript and Multiline Options in Adobe Acrobat Pro
Product
Adobe Acrobat Pro DC
Device & OS
not provided
Scenario
Editing a PDF form field with a custom keystroke script and multiline text input.
Observed behavior
The expected field script or Multiline option is missing or unavailable.
Before you start

Open the PDF in Adobe Acrobat Pro DC and identify the field you want to edit. Check that the PDF's security settings allow form editing under File > Properties > Security.

Solution 1Recommended

Check the Correct Form Field and JavaScript Event in Acrobat Pro

Use Prepare a Form to inspect the selected field's type, scripts, and multiline settings.

1
Open the form editor

In Acrobat Pro, open Tools > Prepare Form, select the PDF if prompted, and start editing the form.

2
Inspect the field properties

Double-click the intended field to open Properties. Confirm that it is a text field; Multiline is a text-field option and may not appear for other field types.

3
Find the keystroke script

In Properties, open the Format tab and select Custom. Check Edit next to Custom Keystroke Script to view or enter the script, then confirm your changes.

4
Check other script locations

If the expected script is not under Format, inspect the Calculate tab for a custom calculation script and the Actions tab for a Run a JavaScript action. Save the script in the event intended for it.

5
Enable multiline input

Open the text field's Options tab and select Multiline. If it is unavailable, review the other field settings and the field type; then close Properties and save the PDF.

6
Test the field

Preview or reopen the saved form, enter text across multiple lines, and test the keystrokes that the script is supposed to handle.

Check the Correct Form Field and JavaScript Event in Acrobat Pro
Field type matters: If the selected field is not a text field, create a text field in Prepare Form and configure its Options and Format settings as needed.
Free Microsoft Office alternative

Work with PDF Files and Office Documents 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 easy to bring existing files into your workflow. Acrobat-specific form JavaScript and field settings must still be checked in Acrobat.

Open and review PDF forms alongside other documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for a straightforward transitionFree, lightweight tools for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Where is the custom keystroke script in Acrobat Pro?

Open Tools > Prepare Form, double-click the field, and select Format > Custom. Choose Edit next to Custom Keystroke Script.

Why can't I see the Multiline option?

In Prepare Form, double-click the field and check its type. Multiline is available for text fields on the Options tab, not for every form field type.

Where else could my field JavaScript be saved?

Check the field's Calculate tab for a custom calculation script and its Actions tab for a Run a JavaScript action. A script appears under the event where it was saved.

What should I check if I can't edit the form?

Confirm that you opened the PDF in Acrobat Pro and selected Tools > Prepare Form. Then check File > Properties > Security to see whether the document permits form editing.