2022.2

Table Of Contents
l
Propercase transformsthefirstcharacterofeachwordtouppercaseandallothercharactersto
lowercase.
Numbersandcurrencies
Numbers,andstringsexistingofdigits,canbedisplayedasanumberwithacertainformattingorasan
amountofmoney.
l
Custom Pattern:allowsyoutoenteracustomformatmask.Forexample,thepattern000000
meansthatthenumbershouldcountsixdigits;leadingzerosareaddedtonumbersshorterthan
sixdigits.Foranoverviewofpatternsymbolssee"Numberpatterns"onpage741andhttp://-
docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html.Thecustompatternwillonly
workiftheactualvalueofthefieldcanbeconvertedfromatexttoanumber.
l
Groupeddisplaysanumberwiththreedecimalplacesandsetsthethousandsseparatorforthe
valuebasedonthecurrentlocale;see"Locale"onpage295.
l
Currencydisplaysanumberasanamountofmoney,withathousandsseparatorandroundedto
twodecimalplaces,basedonthecurrentlocale;see"Locale"onpage295.
l
Currency no symboldoesthesameasCurrency,butomitsthecurrencysymbol.
Showing content conditionally
Onewaytopersonalizecontentistoshoworhideoneormoreelementsdependingonthevalueofa
datafieldorruntimeparameter.Forexample,aparagraphwrittenforCanadiancustomerscouldbehid-
denwhentherecipientoftheletterisnotlivinginCanada,ifthatcanbederivedfromthedata.
ShowingorhidingelementsusingtheConditionalContentScriptwizard
TheConditionalScriptWizardhelpsyoutoshoworhideanelement–aparagraph,imageorother
HTMLelement-basedonthevalueofoneormoredatafieldsandruntimeparameters.Forexample,
youcouldcheckwhetherthedatafield'State'is'EqualTo'thevalue'BritishColumbia'or'Québec',to
includeaparagraphonlyforrecipientsinthosestates.
ToopentheConditionalScriptwizard:
l
Selectoneormoreelements,right-clickandchooseMake Conditional.
l
Alternatively,clicktheblacktriangleontheNewbuttonontheScriptspaneatthebottomleftof
thewindow,andclickConditional Content Script.
Inthewizard,firstmakethefollowingsettings.
Page 318