addInstance creating rows with fields bound together
I am using a data connection to prefill a dynamic form. The form has a AddRow button to allow adding additional blank rows beyond the prefilled rows. AddRow executes the following two lines as the click event:
Some fields in the row r2″ have default bindings such as
, etc. which are used during prefill.
The strange behavior is that the
field for all of the rows created using the AddRow button appear linked in some fashion. A value entered in any these rows immediately gets propagated to the other rows. This linked-value behavior happens for all of the row fields that have a Non-Normal default binding.
Do I need to explictly change the bindings of the newly added instances to prevent this problem? How would that be done?
Did you get a respone? I have the same problem. The second and third occurrence or instances seem linked. If I remove the binding it works. I have tried binding the subform, binding the fields independently of the suborm and still the problem persists.
Problem Solved. (well actually just avoided).
I copied row
to new row
is the same as
except all of the bindings have been changed to
. I then changed the
button to point to the
instead of the r2.addInstance
gets prefilled with my XML data. If a new row is needed, the