The scenario is " I want to Hide subform based on page condition like if page number is > 1 the subform should not print"
if (xfa.host.currentPage > 1)
this.presence = "hidden";
But above if condition in not working .
Please help me to solve this problem.