Expand my Community achievements bar.

SOLVED

Unique AddInstance

Avatar

Former Community Member

I have a button to add an instance of a row. However, when I use the button to add the row, all of the information from the first row is copied to all subsequent rows. The JavaScript code I'm using is:

xfa.resolveNode("form1.FormName.Table1.Row1[" + this.parent.index + "]").instanceManager.addInstance(true);

How do I make it so that the new row shows up blank so the user can add unique information?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Check the bindings on all the fields in the first row. If you have set them as Global then the data might get copied. The binding should be Normal.

Thanks

Srini

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Check the bindings on all the fields in the first row. If you have set them as Global then the data might get copied. The binding should be Normal.

Thanks

Srini

Avatar

Former Community Member

Don't know why I didn't think of that! Thanks for your help!!!