Avatar

Correct answer by
Level 1

I'ved looked at your form and can't begin to understand the coding you have for the add section button (you are way beyond me), but I can make it work with a simpler script.

1. Your subform needs to be flowed.

2. You need to set the "repeat subform for each data item" information in the binding tab

3. I added some blank space to the bottom of the flowed subform in the layout tab to make it a full page

4. put the button in the flowed subform

5. use this script "Form1.Page1.AttendeeSubform.instanceManager.addInstance(1);" in the click event

6. look at the properties and make sure the "version to run as" is compatible with what you are doing

7. save it as a dynamic form not a static one

I hope this helps.

View solution in original post