Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

Adobe Forms - Table on Master Page - on last page

$
0
0

Hi all,

 

I have a problem displaying tables on last page that are on Master Page (as static objects). This tables shown below behave somewhat like a footer. ( it's a subtotal and a total based on some conditions ). And i want to print them only on the last page of the document.

 

The thing is that the tables shows only on the First page ( if i don't write the a condition in FormCalc ) or doesn't show at all ( with the condition ).

Do you know how i should solve my problem. Below I added the code and some images.

 

Form Calc - script to hide the subform until last page:

var curpage  = $layout.page ( ref ( $ ) )

var totpages = $layout.pageCount()

 

 

     if ( curpage ne totpages ) then

         $.presence = "hidden"

     else

     $.presence = "visible"

     endif

 

Images:

     1) Adobe From

Table_AF.PNG

2) First Page - I removed the From Calc script so you can see the results

First_page.PNG

 

     Termini di pagame and Codice IVA are tables too

 

3) Last Page

Last_page.PNG

     No tables displayed.

 

 

Thank you very much for any suggestion,

Alex


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>