Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Move Page at runtime

$
0
0

Hi, i will create a new page at runtime. I have a form with 2 page:

 

form1

          P1

          P2

 

I make a button with this code to duplicate the page:

 

form1.P1.occur.max = "2";

form1.P2.occur.max = "2";

form1.P1.instanceManager.addInstance(true);

form1.P2.instanceManager.addInstance(true);

 

The page's order became:

     P1

     (new istance of P1)

     P2

     (new istance of P2)

 

but i want take this order

     P1

     P2

     (new istance of P1)

     (new istance of P2)

 

How can i do that?

 

Kind Regards.


Viewing all articles
Browse latest Browse all 5571

Trending Articles