Problem with removing correct instance

Avatar

Avatar

usuggestaname

Avatar

usuggestaname

usuggestaname

29-11-2011

I have made a form that has an add button and remove button in a subform. Currently when the remove button is clicked on in any instance it removes the first instance. What is required to have the remove button remove the subform it sits within?

View Entire Topic

Avatar

Avatar

Steve_L_Walker

Avatar

Steve_L_Walker

Steve_L_Walker

30-11-2011

The instance reference this.parent.index. For example,

_detail.removeInstance(this.parent.index);

Steve