cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on Smartform-page number

Former Member
0 Kudos

Hi !

I need to display page numbers on all the pages if the form has multiple pages.

In case of a single page,the page number should be suppressed and not displayed.

-SFSY-FORMPAGES doesn't work,as it has total number of pages only at the end of form execution.

Thanks in advance,

Manjjari

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Thanks for your inputs..

Well...I would want the first page number to be printed if ther are more than 1 pages.

But if only one page,I shouldn't print anything at all....

Former Member
0 Kudos

hi,

i think this will work....

hope you are displaying pagenumber using some text element and <b>&SFSY-PAGE&</b> , now above the pagenumber text element add a condition branch and give the condition as <b>&SFSY-FORMPAGES& > 1</b> and drag and drop the pagenumber text element under the <b>TRUE</b> node of the condition.

if it does not work you can change the condition as <b>&SFSY-PAGE& > 1</b>, but this will not display the first pagenumber regardless of the total pagenumbers in the form...

Try this out and reply me if it works.....

Regards

Karthik D

<b>P.S. :</b> Reward points if you found this reply useful..