Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Binding XML to Adobe Live Cycle - Nested Subform Repeat

kumargade
Level 1
Level 1

I have a nested repeating subform. The nested subform  is repeating more than what it is supposed to do. Any suggestions appreciated.

Here is an example to explain it better -

For User1, form needs to render 3 instances of subform; For User 2, form needs to render 1 instance of subform. But 4 instances of nested subform is displayed for User 1 & User 2.

<test>

  <user id="1">

    <name>User1</name>

    <child>User Child 1</child>

    <child>User Child 2</child>

    <child>User Child 3</child>

  </user>

  <user id="2">

    <name>User2</name>

    <child>User Child 1</child>

  </user

</test>

Thank You.

1 Reply
Bibhu_Bikash_Na
Level 9
Level 9

How are you showing the subforms or making the instances of the subform? Are you using a setInstance() or addInstance() ?

Thanks,

Bibhu.