Avatar

Level 10

I found a few error.

1. Your script in the "AddSubformButton1" references to "form1._Customerinfor" which is a typing error. Correct it to "form1._Customerinfo"

2. The Subform "fCustomerinfo" is not repeatable because the surrounding subform is set to positioned.

It has to be a flowing subform to allow several instances of the included subforms.

3. Your script in the button references to a variable "oSubform" that picks up the value of the variable "sSubformSOM" but this one does not contain a usable SOM expression to the desired subform!

var sSubformSOM = "<value>";    

It should look something like

var sSubformSOM = "xfa.form.form1.subform1";