You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using Greater Than condition in RTF template

Question
11
Views
0
Comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!