Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Page number not to display


My requirements is not to display Page number = 1 in the first pages, Display it from the second page = 2.

I use the 'Page n of m' into my form. Now it displaying in all the pages .But i dont want it in first page only.

I am not friendly in XML code, so not able to figure it out.

As per logic i need to do

if page_number = 1.

make it no_display.


thats it , But where and how??

this is the copy paste code of XMl source for page number. <draw h="3.175mm" name="Pages" w="0.125in" x="209.55mm" y="273.05mm">.

please reply asap.

Former Member
Former Member replied

you can use below approach using Javascript:

consider, you placed 'Page n of m' in the masterpage

then in the Hierachy Palette, you could see following objects.

CurrentPage (Text Field)

PageCount (Text Field)

Pages (Text)

go to the ready:layout of PageCount object, and you can use below script:

this.rawValue = xfa.layout.pageCount();  //this line is already present

//below lines are added to make the Pages object on first page invisible.

if ( == 1) {
 this.parent.Pages.presence	= "invisible";



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question