Trying to delete a specific row in Livecycle
Hi there. I have a form that currently has 14 rows already populated, as this form needs to be able to be printed and used with a pen in real-time as the user is making observations. The user will then take their written form back to their desk and type in their observations. With that being said, I have a "delete row" button at the end of each row. I have googled and tried every script I could find in order to delete that specific row, but nothing is working. I have done:
FindingsTable.Row1.instanceManager.removeInstance(this.parent.parent.index);
FindingsTable.Row1.InstanceManager.removeInstance(this.parent.index);
FindingsTable.Row1.removeInstance(this.parent.index);
FindingsTable.Row1.instanceManager.removeInstance(1);
_Row1.InstanceManager.removeInstance(this.parent.index);
Then for each button's row, I would change the Row number from Row1 to Row 2, Row 3, etc.
I haven't even worked on the add button yet, which I'm assuming will be much easier.
Please help, thank you!!!