cancel
Showing results for 
Search instead for 
Did you mean: 

How to display page no for different master pages in one adobe form application

0 Kudos

Hi All,

we have requirement where we need to  display page nos in different master pages in one single adobe form.

For the First form the page nos should be displayed pgno of total pages and for 2nd form the page no shuld be displayed as pgno of total pg.

so please help me with any script or suggestions for displaying the page no accordingly in different master pages. Your suggestions are greatly appreciated.

Thanks

Raja.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Go to Master Page 1--->Drag TEXT(Give Description) for first Page ->right Click ->add Total Page

You  can create similar 2 "TEXT" with different description and wrapped with different sub form inside Master Page.

Write logic in Initial event of sub-form.

if (this.resolveNode("currentPageNumer").rawValue = '1';

{

"Hide second subform

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

}

else

{

"Hide first subform

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

}

Not sure about exact requirement ,Hope this will help.

Regards,

Lingaraj Desai

0 Kudos

Hi Lingaraj,

We have 2 different Master pages and 2 Body pages. For the seccond Master page the page no are comming correct like 1 of 3 ,2 of 3 and 3 of 3 but for First master page the page no are comming 0 of 3  in all of the page its not displaying the current page no in 1st master page.

Screen shots are attached for first master page and Hierarchy Node.Pls see the highlighted section in 2nd image.

Pls see and suggest me accordingly. Hope this helps are let me know anything u require.