How to Set PDF Form Tab Order and Skip Internal Fields
Question details
The user needs to configure a PDF form so that pressing the tab key jumps from the last customer field on the first page directly to the next customer field on the second page, skipping any internal-use fields in between.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Creating or modifying an interactive PDF form that contains a mix of customer-facing fields and internal-use fields.
- Observed behavior
- By default, the tab key sequentially navigates through all available form fields, forcing the customer to tab through internal-use fields that they are not supposed to fill out.
Ensure your PDF form is fully created and note the exact field name of the destination field you want the tab key to jump to.
Use a JavaScript OnBlur Event to Skip Fields
Since standard PDF settings do not allow you to exclude a visible, editable field from the tab order, use a simple JavaScript action to automatically shift focus to the correct field.
This method uses a small script triggered when the user leaves the final customer field. It forces the PDF reader to immediately select the specific target field on the next page, effectively bypassing any fields in between.
Right-click the last customer field on page one that the user will fill out, and select 'Properties' from the context menu.
Navigate to the 'Actions' tab. In the 'Select Trigger' dropdown menu, choose 'On Blur' (which activates when the field loses focus).
In the 'Select Action' dropdown, choose 'Run a JavaScript' and click 'Add'. In the editor window, paste the following code: this.getField("TargetFieldName").setFocus();
Replace 'TargetFieldName' in the code with the exact name of your first customer field on the following page. Click 'OK' to save.

Set Internal-Use Fields to Read-Only
If the internal-use fields do not need to be filled out by the customer at all, setting them to Read-Only is a code-free way to remove them from the tab order.
Easily Create and Edit PDF Forms with WPS Office
WPS Office offers a comprehensive set of PDF tools, allowing you to quickly insert text fields, manage form properties, and ensure your interactive PDFs are perfectly configured for your users.
- 1. Open your PDF: Launch WPS Office and open the PDF document you want to make interactive.
- 2. Access Form Tools: Navigate to the 'Form' tab on the top ribbon to view all form creation features.
- 3. Add Form Fields: Select the desired field type (Text, Checkbox, Dropdown) and click on the page to place it.
- 4. Customize Properties: Double-click the newly inserted field to access its properties, adjust formatting, and set parameters.

Frequently Asked Questions
Can I manually change the tab order of my PDF form fields?
Yes, in most advanced PDF editors, you can manually adjust the tab order by opening the form fields panel and dragging the fields into your preferred sequence.
Does hiding a form field remove it from the tab order?
Yes. Setting a form field's visibility to 'Hidden' in its properties menu will automatically exclude it from the form's tab sequence.
Will form JavaScript work on mobile PDF viewers?
Not always. While standard desktop PDF readers like Acrobat and WPS Office support form JavaScript, many basic mobile viewers and web browser extensions do not process JavaScript actions reliably.




