cancel
Showing results for 
Search instead for 
Did you mean: 

print subform on last page

former_member216702
Active Participant
0 Kudos

Hello,

Is it possible to print a subform only on the last page ?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes, we can restrict the visibility of a subform only on the last page with the help of javascript.

Click on the subform, select the event 'Initialize', and language 'Javascript'.

if (xfa.layout.page(this) == xfa.layout.pageCount())

{

this.presence = "visible"

}

else

{

this.presence = "hidden"

}

Hope this helps.

Regards,

Vidya Chowdhary A.

former_member216702
Active Participant
0 Kudos

That is ok

Thank you

Answers (0)