Expand my Community achievements bar.

Page Numbers

Avatar

Level 3

Ok, I understand that by putting a page n of m on the Master Page it will display the page number on each page of my form.

My form has 12 pages, but I don't want the page numbers to display on the first "cover" page. How can I achieve this?

thx

1 Reply

Avatar

Level 10

When you add the custom control Page n of m, you can see in the heirarchy 3 fields are added.

Two TextFields "CurrentPage", "PageCount" and one Text Object "Pages"..

You need to write the below code in the Layout Ready event of the CurrentPage control to hide the "Pages" control.

clientDetails.MasterPages.Page1.CurrentPage::ready:layout - (JavaScript, client)

this.rawValue = xfa.layout.page(this);

if(this.rawValue == 1){
Pages.presence= "hidden";
}

Thanks

Srini