How to Continue Text Between Two Acrobat Form Fields
Question details
The user wants to configure Adobe Acrobat so that text entered into one form field automatically continues into a second, separate form field when the first field is full.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating or formatting a PDF form where a continuous paragraph or long sentence must span across multiple separated text lines.
- Observed behavior
- Text typed into the first field does not automatically flow to the second field. Instead, the text stops or shrinks in size, preventing a natural continuous typing experience across multiple separate fields.
Before modifying your PDF, ensure you are in the form editing mode and take note of the exact internal names of the text fields you intend to link together.
Add a Custom Keystroke Script to Move Focus
Use a simple JavaScript keystroke script to automatically move the cursor to the second field when the character limit or physical space of the first field is reached.
Acrobat does not natively link separate text fields for continuous paragraph flow. However, you can use a custom keystroke script to force the cursor to jump to the next field once the current field registers as full. Note that this is a one-way action: if you press Backspace in the second field, the cursor will not automatically jump back to the first field.
Right-click the first text field (e.g., 'Line1') and select 'Properties' from the context menu.
Go to the 'Options' tab. Ensure that 'Scroll long text' and 'Allow Rich Text Formatting' are unchecked. You must also disable any automatic font sizing by setting a specific font size on the 'Appearance' tab.
Navigate to the 'Format' tab. In the 'Select format category' drop-down, choose 'Custom'. In the Custom Keystroke Script box, type: if (event.fieldFull || event.willCommit) this.getField("NameOfSecondField").setFocus();
Replace 'NameOfSecondField' with the exact name of your second text box. Click 'Close', exit form editing mode, and type into the first field to test the automatic jump.

Use a Single Multiline Text Field
Replace multiple individual line fields with a single, larger multiline text field for seamless and natural text wrapping.
Create and Edit PDF Forms Easily with WPS Office
WPS Office provides an intuitive suite of PDF tools that make it simple to create, edit, and fill out PDF forms without the need for complex scripting. Easily design user-friendly forms using robust multiline text fields and fully compatible formatting options.
- 1. Open Your PDF: Launch WPS Office and open the PDF form document you want to edit.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to reveal all interactive form controls.
- 3. Insert a Text Field: Click on 'Text Field' and drag to draw a box on your document where users need to type.
- 4. Enable Multiline Input: Double-click the new field to open its properties, and check the 'Multi-line' option to allow text to wrap naturally within the box.

Frequently Asked Questions
Why doesn't my text flow to the next PDF form field automatically?
By default, PDF software treats every form field as a completely independent entity. Without a specific JavaScript command telling the cursor to move, the software does not know where overflow text is supposed to go.
Can I use automatic font sizing with the keystroke script?
No, automatic font sizing shrinks the text to fit the box infinitely, which prevents the field from ever registering as 'full.' You must set a fixed font size to trigger the script that moves the cursor to the next field.
What happens if I press Backspace in the second field?
The custom keystroke script is designed to move focus forward only when the first field is full. If you delete text in the second field until it is empty, the cursor will not automatically jump back to the first field; you will have to click it manually.
Is there a simpler alternative to using JavaScript for text flow?
Yes, the simplest and most reliable method is to delete the multiple single-line fields and replace them with one large text field. By enabling the 'Multi-line' option in the field's properties, text will naturally wrap and flow without the need for any code.




