Is there any way to use `<pagenumber>` or `&...
# advancedpdf
a
Is there any way to use
<pagenumber>
or
<totalpages>
as variable so I can only display something on the last page? For example I am trying to accomplish something like this
Copy code
<#if pagenumber == totalpages>
   <pagenumber/>
       of 
    <totalpages/>
  </#if>
r
As far as I know this is not possible. The BFO engine (which generates the pdf) has no way of knowing how pages the generated pdf will be
💯 1
m
a
Thanks all. I saw that stack overflow question but I was hoping that someone else had way. I didn't realize @michoel was the one who gave that answer.