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
BedrockMission!

Learn More

View all

Sign in to view all badges

Alternating Table Rows - Complex tables

Avatar

28-10-2008

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

Replies

Avatar

Avatar
Affirm 3
Level 2
JohnBrinkman
Level 2

Likes

0 likes

Total Posts

20 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile

Avatar
Affirm 3
Level 2
JohnBrinkman
Level 2

Likes

0 likes

Total Posts

20 posts

Correct Reply

3 solutions
Top badges earned
Affirm 3
Affirm 1
View profile
JohnBrinkman
Level 2

06-11-2008

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/