Using Greater Than condition in RTF template
Summary:
Content (required):
Hi,
I'm trying to use the following in an RTF template to select between two blocks of text.
<?choose:?>
<?when:CONTRACT_LENGTH_DAYS>=‘90’?><?call:Conditional_BlockA?><?end when?>
<?when:CONTRACT_LENGTH_DAYS<‘90’?><?call:Conditional_BlockB?><?end when?>
<?end choose?>
The value of CONTRACT_LENGHT_DAYS in the sample XML (exported from Fusion) is 394.
The above returns Conditional_BlockB which is not what I want.
By manually editing the value in the XML it seems the above logic only works while the CONTRACT_LENGTH_DAYS value is 99 or less.
My guess is I'm missing some kind of formatting/padding, assuming this is even possible within RTF templating.