Copy link to clipboard
I am using ColdFusion 11 and have a page that creates a PDF using the cfdocument tag. Nested in the cfdocument tag is the following markup
<cfdocumentitem type="header" evalAtPrint="false">
<cfif cfdocument.currentPageNumber GT 1>
The problem I am experiencing is this header is showing up on page 1 when I only want the header to show up on pages greater than 1. Any insight you could provide would be appreciated....
I don't use cfDocument myself, but I suspect CurrentPageNumber will only work if evalAtPrint is set to "true" in the cfDocumentItem tag.