Avatar

Level 10

Hi,

That's very interesting about the data binding set to 'none' for four of the pages. I have set the binding to 'name' and it works perfectly. That is an eye opener, as others have had problems with this.

In relation to the removeInstance, please note that the parameter is the instance number, which uses a zero-based numbering system.

I would recommend the following javascript in the click event of the delete button:

form1.Page1.instanceManager.removeInstance(this.parent.index);

this.parent.index will insert the current page instance number into the removeInstance. In the form I sent back, I had this script in the three delete buttons. Just copy these into your new version and amend the references.

I would not set the min occurrence, as this is set in the Object > Binding tab for each page at design time.

Good luck,

Niall