Here is a follow-up to the Form Flow and Expanding Tables tutorials that applies both lessons to a single form to create a table that can expand indefinitely without negatively affecting other objects.
var rowNum = this.parent.index +1;
var rowNum = this.parent.parent.index;
In this tutorial I show how text insertion can be done the right way. Many forms I see instert text as if the form was made to be filled out on paper. Hopefully, this lesson can help you bring your pdf forms up to date.
This tutorial demonstrates how a LiveCycle Designer PDF can be made to act and feel like a Word Processor using nested subforms with properly set form flow.