Answered
I have create a dynamic LCD form and any time when I use the commant "save as" to give a different name and reopen it again always adds an extra unwanted instance to my form!!!
Here is the script I use for a add Button(Click event):
form1.SubALL.Sub_2.Table1.Row1.Button1::click - (JavaScript, client)
// Invoke the Instance Manager to add one instance of the detail subform.
details._detail.addInstance(1);
//Invoke the recalculate method to include the field values from the added row in calculations.
xfa.form.recalculate(1);
Thanks
In my case the form added 7 extra instances of a page.
I checked the whole form and dicovered that a date/time field with a global binding caused the effect.
After setting the field binding from global to normal, the form worked find.
Maybe your problem has a similar reason.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs