0 Replies Latest reply on May 2, 2012 5:07 AM by andypaterson

    Hiding current page only seems to make invisible or shows view of master page?

    andypaterson

      I have a button that is as follows:-

       

      runs a few validation checks blah blah then ......

       

      else

         

      {

      this.resolveNode("Page3").presence = "visible";

      xfa.host.currentPage = 3;

      this.resolveNode("Page1").presence = "hidden";

      }

       

      So on click it goes to page 3 - that's fine, but it only seems to set the current page to invisible, as it leaves behind a blank page/master page to view?

       

      I have tried to include

       

      xfa.layout.relayout();

       

      but this has no effect.

       

      If i place a similiar button hiding Page1 outside Page1 then there is no problem, it hides and is taken right out of the form as i am hoping with the button sitting inside page1.