coldfusion - Adding a footer only to the last page when using cfdocument -
i'm creating multipage document using cfdocument
(created using dynamic text have number of pages one).
i can use <cfdocumentitem type="footer">
add footer every page, there way can add footer last page of document?
thanks.
just add evalatprint attribute. can use page number variables conditionally set footer.
<cfdocumentitem type="footer" evalatprint="true"> <cfif cfdocument.currentpagenumber eq cfdocument.totalpagecount> last page </cfif> </cfdocumentitem>
Comments
Post a Comment