Hi, Sherry,
unfortunately your provided survey is not complete.
It does not contain the script to add and remove the rows.
Nor does it contain the script for the dropdown column which your screenshot shows.
Some more questions:
The text of the prefilled cells is taken from a former question?
In your example the text is hardcoded in the script.
And there are no rows without this prefilled cell? In your provided example there are no.
As far as I remember your survey the stages were defined before.
So, why not insert these text into the subquestion text? Either as by EM {Q0_SQ001} or directly (layout with some css)
And if this question depends on a former question you know the number of rows that has to be displayed.
So you may show the necessary rows by relevance equation.
Joffm
addition:
If you are going to define the stages
here (time of living there, address, etc.)
There was something about transfering the answer of the first row to the second, and so on.
Like this?
subquestion text:
<span style="font-size:10pt;color:silver">Stage 2</span><br><span style="font-size:12pt;color:maroon">{A1_SQ001_SQ002}</span>