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:
root.PO.grid.Table1.#subformSet[0].action.AddRow::click: - (JavaScript, client)
Table1._r2.addInstance(1);
xfa.form.recalculate(1);
Some fields in the row r2″ have default bindings such as
b $record.item[*].OrderMult
and
b $record.item[*].ItemDesc1
, etc. which are used during prefill.
The strange behavior is that the
b ItemDesc1
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?