I think in either case you will want to check the length of the value before outputting it so you do not get a strange output. Also - just so you are aware you can combine multiple logic blocks to (AND/OR) things should you need to thus (this is just for demo re: Velocity as I wouldn't recommend doing it this way!! this is just to show you the OR function via the double pipe ||) #set ($lengthTest = ${lead.FirstName}) #if ( $lengthTest.length() == 1 || $lengthTest.length() == 2 ) "Thanks for coming, Single Letter or two letter Customer. Hope to see you next time" #elseif ($lead.usageLanguagePreference <1) "Thanks for coming, Customer . Hope to see you next time" #else "Thanks for coming, ${lead.FirstName}. Hope to see you next time" #end
... View more