How to Create a PDF Text Field That Continues onto a Second Page
Question details
The user wants to configure a PDF form so that when a user types a long response that exceeds the space of one text field on the first page, the text automatically flows into another text field on the second page.

- Product
- PDF Editors
- Device & OS
- not provided
- Scenario
- Creating advanced, multi-page PDF forms that require long-form responses from users.
- Observed behavior
- Standard PDF text fields do not natively flow text onto a new page. The text either gets cut off or simply scrolls within a single field box without pushing to the next page.
Before setting up flowing text fields, ensure you are using an advanced desktop PDF editor that supports form creation and custom JavaScript execution, as basic web viewers cannot process field-jumping scripts.
Use Custom JavaScript to Auto-Tab to a Linked Text Field
You can simulate flowing text by setting a character limit on the first field and using a script that automatically moves the user's cursor to the next field on the second page when that limit is reached.
Because the PDF format relies on fixed layouts, text fields cannot dynamically create new pages or physically push content down like a word processor. The most reliable workaround is linking multiple separate fields.
Keep in mind that this method relies on character limits rather than visual space, meaning the exact point at which the text jumps to the next page may vary slightly depending on the font size and user spacing.
Open your PDF document in an advanced PDF editor. Navigate to the Form tools, insert a Text Field on the first page, and assign it a specific name (e.g., 'ResponsePart1').
Scroll to the second page and insert another Text Field. Name this one 'ResponsePart2'.
Right-click the first field ('ResponsePart1') and open its Properties. Go to the Options tab and set a character limit that comfortably fits within the visible boundaries of the field.
In the Properties window for 'ResponsePart1', navigate to the Format tab. Choose 'Custom' as the format category and enter a Custom Keystroke Script that automatically shifts the focus to the second field when the character limit is hit (e.g., using a script to check character length and triggering the setFocus() method on 'ResponsePart2').

Create and Edit Interactive PDF Forms with WPS Office
WPS Office offers a comprehensive suite of PDF tools that allows you to effortlessly design interactive forms, insert text fields, and manage multi-page documents without extensive technical knowledge.
- 1. Open PDF in WPS Office: Launch the WPS Office application and open the PDF form you wish to edit.
- 2. Access Form Tools: Navigate to the 'Form' tab in the top ribbon menu to reveal all interactive field options.
- 3. Insert Text Fields: Click on 'Text Field' and draw the designated response boxes on the first and second pages.
- 4. Customize Field Properties: Double-click the newly created text fields to adjust their names, multi-line settings, and visual formatting.

Frequently Asked Questions
Why doesn't text automatically flow to the next page in a PDF?
Unlike word processors (like Microsoft Word), PDF is a fixed-layout format. Text fields are contained within specific X and Y coordinates on a page and cannot dynamically expand to push content down or generate new pages automatically.
Can I make a PDF text box automatically expand as I type?
You can enable 'Multi-line' and 'Scroll long text' in a text field's properties, which allows the user to scroll vertically to read excess text. However, the physical boundary of the box on the page will not change size.
Does the auto-tab script work when filling forms in a web browser?
Usually, no. Built-in PDF viewers in browsers like Chrome, Edge, and Safari have limited support for PDF JavaScript. Advanced actions like automatic field navigation require users to open the form in a dedicated PDF reader.




