How to Remove Blank Spaces Appearing from Hidden Conditional Tables in RTF Template
I have an RTF template with 3 separate tables that display conditionally based on a parameter (ITEM, ASSET, WorkOrder). When one table is selected, the other two are hidden using <?if?> and <?endif?> conditions.
PROBLEM:When the second or third table displays, there are large blank spaces at the top of the output where the hidden tables would have been.
The spaces from the previous hidden conditional blocks are being rendered as blank lines in the PDF output.
CURRENT RTF STRUCTURE:
<?if:$PARAMETER='ITEM'?>
[Table 1 with columns: Month, Criticality, Item, Item Availability %]<?end if?>
<?if:$PARAMETER='Asset'?>
[Table 2 with columns: Month, Criticality, Item, Asset, Asset Availability %]<?end if?>
0