I am trying to have a simple solution to save tabular form before Adding a new Row.
so I asssigned 2 dynamic actions to the AddRow button to submit and runYou have to understand two things here:
I have made sure the sequence numbers are correct to submit first. But what it ended up with looks like addrow() got run first.
So I then adited to run the below scripts on a dynamic action, but it is still not right.
And edit the Add Row button and change the Target URL so that it submits the page when clicked
//add this code addRow();