Other PDF Issues

How to Restart Automatic Table Numbering in Adobe LiveCycle Designer

Steve KSteve K Nov 2, 2026 868 views

Question details

The user needs to reset or restart the automatic table row numbering for newly added table instances in an Adobe LiveCycle Designer form.

How to Restart Automatic Table Numbering in Adobe LiveCycle Designer
Product
Adobe LiveCycle Designer
Device & OS
not provided
Scenario
Creating dynamic PDF forms with JavaScript to number table rows automatically.
Observed behavior
The numbering continues sequentially across newly added table instances instead of restarting at 1 for each new table instance.
Before you start

Ensure you have access to the JavaScript editor within Adobe LiveCycle Designer and understand the basics of referencing table row instances (SOM expressions).

Solution 1Recommended

Adjust the Form Script and Table-Instance Indexing

Modify the JavaScript in your table row's calculation event to reference the current table instance so the count restarts appropriately.

In Adobe LiveCycle Designer, automatic numbering can be achieved using the 'index' property of the row. However, if multiple table instances exist, a simple index will count all rows across all tables if not properly scoped.

To fix this, you must explicitly scope your script to the current table instance, ensuring the row index resets to 1 for each newly generated table.

1
Open the Script Editor

Open your form in Adobe LiveCycle Designer and display the Script Editor from the Window menu.

2
Select the Row

Select the specific table row or cell where you want the automatic number to appear.

3
Update the JavaScript

In the Calculate event, enter a script that references the current row index within its specific parent table instance (e.g., using `this.parent.index + 1`). Ensure the language is set to JavaScript.

4
Consult the LiveCycle Community

Because LiveCycle Designer uses specialized XFA architecture, complex indexing issues are best resolved by sharing your exact form hierarchy in the dedicated Adobe LiveCycle Designer community forum rather than general Acrobat forums.

Adjust the Form Script and Table-Instance Indexing
Adobe Support Forums: If you initially posted in the Acrobat forums, note that LiveCycle Designer (ES4) has its own dedicated Adobe community where experts can review your specific SOM expressions.
Free Microsoft Office alternative

Discover a Lightweight and Free PDF & Office Alternative

While Adobe LiveCycle Designer handles complex enterprise XFA forms, many everyday document and standard PDF form needs can be managed efficiently with WPS Office. It provides robust PDF viewing, filling, and editing features as part of a complete, free Office suite.

Seamless compatibility with standard PDF documents and formsFully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight software that runs fast on both Windows and MacBuilt-in PDF editing, annotating, and conversion tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does my table row numbering continue sequentially in LiveCycle?

By default, if your JavaScript does not properly reference the parent table instance, it will count all row instances globally across the entire form. You need to scope the index property to the specific table object.

Can I edit Adobe LiveCycle Designer XFA forms in standard PDF editors?

Dynamic XFA forms created in LiveCycle Designer usually require specific Adobe software (like Acrobat or Reader) to be filled out properly. Standard PDF editors often cannot modify the underlying XFA structure.

Where can I get specialized help for LiveCycle Designer scripts?

Since it is an enterprise product, the best place for specialized script troubleshooting is the Adobe LiveCycle Designer Community forums, as standard Acrobat forums do not cover XFA development.