Hi,
I have a datacapture form structured something like this:
<container name="conParent">
<container name="conChild1" default="1" min="0" max="1">
....
</container>
<container name="conChild2" default="0" min="0" max="10" combination="or">
....
</container>
</container>
In other words, I have a page segment that starts with a single instance of a container that can be removed that is followed by a container that allows many children. This is for a page with an optional banner at the top, followed by a list of different types of content.
My issue is, in my presentation template, I am able to locate the second child container only when the first doesn't exist in the datacapture output. e.g. If I add this to my PT:
<iw_iterate var="con" list="dcr.conParent.conChild2" iteration='content_count'>
....
</iw_iterate>
and I've already added a conParent.conChild1, when the template renders, dcr.conParent.conChild2 returns nothing. If I remove the sibling conChild1, dcr.conParent.conChild2 resolves to what I expect.
What am I missing?