Expand my Community achievements bar.

Repeating subforms

Avatar

Level 3

I have a subform that contains text fields plus a table with repeating rows (added using a button). I want to also be able to repeat this entire subform as many times as required by the user. I'm having trouble with repeating this subform using a button with the scipt:

_patient.addInstance(true);

xfa.form.recalculate(true);

Is their something missing I should be including?

Thanks.

1 Reply

Avatar

Level 8

Make sure that in the Object palette under the Binding tab "Repeat Subform for Each Data Item" is selected.

Kyle