How to Link Text Fields for Automatic Overflow in Adobe Acrobat
Question details
The user wants to configure a PDF form so that when one text field becomes full, the text automatically continues into another designated text field.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating interactive PDF forms where lengthy user responses need to be split or spanned seamlessly across multiple fixed-size text boxes.
- Observed behavior
- When typing reaches the end of a text field, the text either stops or scrolls out of view, instead of flowing automatically into the next available field.
Note that Adobe Acrobat does not feature a native 'text thread' or automatic overflow tool for separate form fields. Achieving this behavior requires adding custom JavaScript to your PDF form.
Use Custom JavaScript for Auto-Tabbing Between Fields
Implement a JavaScript keystroke or format script that monitors the character limit of the first field and automatically shifts focus to the second field when full.
Since there is no foolproof built-in way to flow text continuously between separate fields, form creators rely on 'auto-tab' scripts. These scripts count the keystrokes or string length in the first field. Once a predefined character limit is met, the script automatically moves the cursor (focus) to the next linked field.
Keep in mind that this workaround can encounter edge cases. Differences in multiline settings, user cursor placement, or pasting long blocks of text can sometimes disrupt the flow.
Open your PDF in Adobe Acrobat and navigate to the 'Prepare Form' tool from the right-hand pane to enter editing mode.
Right-click the first text field (the one you want text to start in) and select 'Properties'. Ensure you have also created the second text field and noted its exact name.
In the Properties window, go to the 'Format' tab, select 'Custom' from the format category, and enter a JavaScript code snippet that checks the character limit (e.g., using event.value.length) and triggers getField("YourSecondFieldName").setFocus() when the limit is reached.
Close the properties dialog, exit form editing mode, and type into the first field to ensure the cursor successfully jumps to the next field upon hitting the specified limit.

Alternative: Use a Single Multiline Text Field with Auto Font Size
Instead of linking multiple fields, configure a single large text field to automatically shrink text to fit, or allow scrolling, preventing the need for an overflow field altogether.
Create User-Friendly PDF Forms Easily with WPS Office
Avoid the hassle of complex JavaScript programming just to handle long text entries. With WPS Office, you can easily create and manage professional PDF forms. WPS PDF allows you to intuitively configure multiline text boxes and auto-sizing fonts, ensuring user inputs are captured perfectly without tricky workarounds.
- 1. Open your PDF document: Launch WPS Office and open your PDF file using the built-in WPS PDF editor.
- 2. Navigate to the Form tools: Click on the 'Form' tab in the top navigation ribbon to access all interactive form field options.
- 3. Add an optimized text field: Click 'Text Field' to draw a box on your document. Double-click it to open properties, check 'Multi-line', and set the font size to 'Auto' to effortlessly handle long text without needing field linking.
- 4. Save and distribute: Click the Save icon. Your form is now ready to be securely shared and filled out by users.

Frequently Asked Questions
Does Adobe Acrobat have a native text thread tool like InDesign?
No, Adobe Acrobat does not include a built-in text thread or 'link fields' tool for PDF forms. Unlike desktop publishing software, PDF form fields act independently unless linked through custom JavaScript.
Why does text disappear when a PDF form field is full?
If a text field has a fixed font size and is not configured to scroll or span multiple lines, any characters typed beyond the visible borders of the box will be hidden. Changing the font size to 'Auto' or enabling 'Scroll long text' in the field properties will fix this.
Can I copy and paste long text into auto-tabbing fields?
Pasting long blocks of text into fields controlled by auto-tab scripts often causes issues. The script usually relies on individual keystrokes to count characters, so pasting a block that exceeds the limit might not trigger the overflow correctly, resulting in truncated text.
Will JavaScript auto-overflow work on mobile PDF readers?
Most likely not. Many third-party PDF readers and default mobile PDF viewers have limited or zero support for JavaScript execution. To ensure all users can fill out your form, it is highly recommended to use a single large, scrolling text field instead of relying on JavaScript auto-tabbing.




