Skip to Content
avatar image
Former Member

Page number not to display

Hi,

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.

endif.

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 28, 2010 at 07:08 PM

    I don't know why you need to change XML code. If you are using Adobe Life Cycle Designer to design the form, you can achieve it using FORMCALC or JavaScript.

    When you insert 'Page N of M' , Adobe creates 3 fields in object hierarchy i.e TextField CurrentPage, TextField PageCount and Static Text field Pages. You may write FormCalc Script at Subform level on event layout:ready

    if ( CurrentPage == 1) then

    Pages.present = "hidden"

    endif

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2010 at 12:21 PM

    a possible solution without using scripting:

    In the master pages tab, Create two MasterPages.

    MasterPage1

    MasterPage2

    In the MasterPage1, donot include the 'Page n of m'.

    In MasterPage2, include the 'Page n of m'

    You might have several BodyPages, in that you dont want the firstpage to show the pagenumber

    So For the BodyPage1, if you look the ObjectPalet-> Pagination, for Place: by default, you might see Following Previous. let it be as it is, or you might select Top of Page "MasterPage1"

    But for the BodyPage2, go to ObjectPalet-> Pagination, for Place:, select Top of Page "MasterPage2"

    all the subsequent pages could be Following Previous

    regards,

    BJagdishwar

    Add comment
    10|10000 characters needed characters exceeded