John,
In the <xforms:insert> statement that you use to add the controls, try adding the predicate 'last()' to the value of your 'nodeset' attribute, so that your statement looks like this:
<xforms:insert ... nodeset="<node>[last()]" />
This will make sure that the node you added is added to the end of the nodeset.
Hope that helps,
Philip
JohnBampton wrote
Hi I have a repeat region and it adds a line of controls to the page when I click the add button.
The only problem is that when a new line is added it is visually added to the page before the existing lines. So each time I click add it adds it to the beginning. How do I make it so the new line is added to the end of the block of lines?
Regards,
John.