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

Alternating Table Rows - Complex tables

Not applicable
Hi,

I am trying to display a dynamic table in my PDF. The logic that creates the pdf bindings is basically 2 for loops. Think of a table that has rows that expand. Each expandable row is a "Main Row" and each expanded row is an "indented row".

This is the desired look of the PDF table:
---------------------------------------------------------------------
Main Row 1
---------------------------------------------------------------------
Indented Row 1.a
---------------------------------------------------------------------
Main Row 2
---------------------------------------------------------------------

I created a pdf template with LiveCycle Designer that has a table, with two dynamic rows. the top row displays the non-expanded information. The bottom row holds the expanded information. Please view this xml for an example:

160112089
07/15/08
Membership Dues
HQ98066
$29.00
$29.00
$0.00
04/28/08
10/28/08

Auto Withdrawal
07/15/08
Payment Received - thank you
HQ98066

156813569
06/15/08
Membership Dues
HQ98066
$29.00
$29.00
$0.00
04/28/08
10/28/08

This is what I am getting

---------------------------------------------------------------------
Main Row 1
---------------------------------------------------------------------
Main Row 2
---------------------------------------------------------------------
Indented Row 1.a
---------------------------------------------------------------------

Is there any way to force the pdf template to display the xml as it is presented?

Thanks for any advice!

Erik
1 Reply
JohnBrinkman
Level 2
Level 2
Try this:



1. Wrap your main row and indented row in a subformSet.

2. Mark the subformSet as repeating

3. Mark your main row and indented row subforms as "not repeating"

4. Make sure your subformSet type is: "select one subform from alternatives"



John

http://blogs.adobe.com/formfeed/