How to Create Sequential Dynamic Numbers Across PDF Form Pages
Question details
The user needs to set up a multi-page PDF form with multiple numbers per page that automatically increment in sequence based on a single starting value.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Designing a 50-page interactive PDF form where two numeric fields per page must dynamically update in a sequence whenever the initial starting number is modified.
- Observed behavior
- Requires a method to auto-calculate subsequent field values dynamically instead of typing them manually, allowing for seamless sequential numbering across the entire document.
Ensure you are using a comprehensive PDF editor with advanced form creation and calculation capabilities, as basic PDF viewers do not support field calculations or custom JavaScript execution.
Use Simplified Field Notation to Auto-Increment Values
Create a base text field for the starting number, and use the Calculate tab in subsequent fields to add a value of +1 incrementally using simplified field notation.
Instead of manually typing sequences or writing complex scripts, you can utilize the built-in 'Simplified field notation' feature within PDF form field properties. This allows each subsequent field to calculate its value based on the previous field's output.
Insert a Text Field on the first page of your PDF form. Right-click it, select Properties, and name it something identifiable, such as 'StartNumber'. Enter your starting value here.
Add a second Text Field where the next number should appear. Right-click this new field and open its Properties menu.
In the Properties dialog box, navigate to the 'Calculate' tab at the top. This tab manages how the field generates its data.
Select the option for 'Simplified field notation' and click the 'Edit' button next to it. In the text box that appears, type the formula: StartNumber + 1 (replace 'StartNumber' with the exact name of your previous field).
For the third field, name it accordingly and set its simplified notation to reference the second field (e.g., Field2 + 1). Continue this chain referencing process for all remaining fields across the 50 pages.

Use Custom JavaScript for Advanced Calculations
Apply a custom Acrobat JavaScript calculation to each field to dynamically fetch the starting number and add an offset based on the field's position.
Create and Manage Interactive PDF Forms with WPS Office
WPS Office features a powerful PDF Editor that allows you to easily design interactive forms, insert customizable text fields, and configure document properties without requiring extensive technical knowledge.
- 1. Open the PDF document: Launch WPS Office and open your multi-page PDF file using the PDF Editor module.
- 2. Navigate to Form Tools: Click on the 'Form' tab in the top navigation ribbon to access interactive form creation tools.
- 3. Insert Text Fields: Select the 'Text Field' option and click on your document pages to place your sequential number boxes.
- 4. Customize Field Properties: Double-click any inserted field to modify its name, appearance, and default values to set up your sequence.

Frequently Asked Questions
Why aren't my calculated PDF fields updating automatically when I change the starting number?
Your PDF editor might have automatic calculation disabled. In most standard PDF editors, you can resolve this by navigating to Edit > Preferences > Forms, and ensuring the 'Automatically calculate field values' checkbox is enabled.
Does simplified field notation support complex mathematical operations?
Simplified field notation supports basic arithmetic operations such as addition (+), subtraction (-), multiplication (*), and division (/). For more complex logic, conditions, or string manipulations, you will need to use a Custom calculation script via JavaScript.
Will these dynamic form numbers work on mobile devices?
Dynamic calculations rely on the PDF viewer's ability to execute JavaScript. Many basic or default mobile PDF viewers do not support this feature. Users should open the form in a fully-featured PDF application like WPS Office or Adobe Acrobat Reader on their mobile devices for the calculations to function properly.




