cancel
Showing results for 
Search instead for 
Did you mean: 

should not print the second page

Former Member
0 Kudos

Hi floks,

i have the 2 pages in the adobe form layout.

2nd page has the subform which contains the table. if the table is initial the 2nd page should not trigger..

how do i proceed. can some one help me out in this..

Thanks in advance

SRK

Accepted Solutions (0)

Answers (1)

Answers (1)

jagdishwar_b
Active Participant
0 Kudos

>>i have the 2 pages in the adobe form layout.

if you have created 2 BodyPages in layout (i.e. if you see 2 BodyPages in hierarchy Palette), i am not sure if it is possible to hide or not to trigger the second body page.

a possible approach for your requirement could be:

Create one BodyPage1 with following properties:

Select BodyPage1 in hierarchy Palette, and goto Object Palette-> Subfrom -> Conent:Flowed, FlowDirection:TopToBottom, and Select "Allow Page Breaks within Content".

Add all the layout objects to BodyPage1 (preferebly embed within a subform).

Now add your subform2 containing the table.

>>2nd page has the subform which contains the table. if the table is initial the 2nd page should not trigger..

in your case if the table is empty, the table may not be shown.

or you can write a small script on the initialize event of subform2 to hide it if it satisfies a certain condition

e.g.

if (table=empty) {

this.presence = "hidden";

}

Regards,

BJagdishwar.