Skip to Content
0
Former Member
Mar 22, 2011 at 06:46 AM

How to hide Subform

31 Views

Hi ,

The scenario is " I want to Hide subform based on page condition like if page number is > 1 the subform should not print"

I have written the code Subform-initilize event in Javascript like ,

if (xfa.host.currentPage > 1)

{

this.presence = "hidden";

}

But above if condition in not working .

Please help me to solve this problem.

Regards,

Sanket.