I was able to create the form I wanted from the post above, repeating subforms and all. I could now use a little assistance with one element of this form however. In the form at the link below, whenever I click on the "Add Topic" button, I would like to remove the "X"/delete button from the previous subform. This way only one repeating subform, the last one added, can be deleted.
Any assistance with this is greatly appreciated.
The link to the document is: https://workspaces.acrobat.com/?d=-swlUm4H7JLsYiei5JUwPA
The document is not shared in such a way that I can get it; however, I may be able to help anyway.
this.parent.btnDeleteButton.presence = "invisible";
I don't know what you've actually named the delete button; so, change "btnDeleteButton" to whatever you've named that button.
Your advice was very helpful. It led me to the solution. I ended up with the following code:
_AgendaItem.removeInstance(this.parent.index); // Short form of the instance manager syntax
There are similar portions for adding items too, so thank you very much for getting me to a solution. It is very much appreciated.