Avatar

Correct answer by
Level 10

Hi Dom,

On the formToRepeat element you need to set the "Repeat Subform for Each Data Item" in the binding tab of the Object Palette.

Capture.PNG

Then you will be able to add another instance using the JavaScript code;

_formToRepeat.addInstance()

Here is a version of your form with these changes, https://sites.google.com/site/livecycledesignercookbooks/home/Test_Resource_Incidents_Form.pdf?attre...

Regards

Bruce

View solution in original post