Suppress blank page when printing T&C conditionally
Hi,
I am trying to print Terms and Conditions based on a condition. I have a section break before the condition. If the parameter for T&C is yes, then the document prints fine, but when it is no, a blank page prints at the end. Since <?if:condition?> creates a block, I know that will happen. Is there any better way to include T&C conditionally without an extra blank page? Here's what I have after a section break on my template.
<?call-template:ENContractHeader?>
<?start@last-page:body?>
<?end body?>
<?call-template:ENContractLastPageFooter?>
TIA,
Alka