Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Bind rows in a dynamically table based on a condition

$
0
0

Hello community,

 

I created a table that grows dependent on the data in the XML schema.

The XML schema looks like this e.g.:

<ITEM>

<ID> 10</ID>

<FIELD1>Test1-10</FIELD1>

<FIELD2>Test2-10</FIELD2>

<FIELD3>Test3-10</FIELD3>

</ITEM>

 

<ITEM>

<ID> 20</ID>

<FIELD1>Test1-20</FIELD1>

<FIELD2></FIELD2>

<FIELD3>Test3-20</FIELD3>

</ITEM>

 

<ITEM>

<ID> 30</ID>

<FIELD1>Test1-30</FIELD1>

<FIELD2>Test2-30</FIELD2>

<FIELD3>Test3-30</FIELD3>

</ITEM>

 

These item positions should be printed in a table. Therefore, I bind the fields in the first growing row to itemID, field1, field2 and field3.

 

But now I got this results: If there is no value in Field 2 in the Item ID 20, then there is simply the next value of Item ID 30 displayed. See following example:

 

Item IDField 1Field 2Field 3
10Test1-10Test2-10Test3-10
20Test1-20Test2-30Test3-20
30Test1-30Test3-30

 

How can I make sure that the values in the fields match the item ID? Which method can be used for this? I think to set presence to hidden is the wrong way because I want to display the value in the row below...

 

Can you help probably Bruce BR001?

 

Thanks in advance.

 

Best regards,

Deborah


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>