2022.2

Table Of Contents
l
Barcode Script:ThisscriptcontrolsthecontentsofaBarcode.Itisautomaticallyaddedwhena
barcodeisaddedtoatemplate.See"Barcode"onpage175
l
Business Graphic Script:ThisscriptcontrolsthecontentsofaPieChart,BarChartorLine
Chart.See"Businessgraphics"onpage229.
l
Conditional script:Thisscriptshowsorhidescontentelementsdependingoncertainconditions
andvalues.See"Showingcontentconditionally"onpage318.
Theresultofthescriptcanbeeithertextappearingonthepage,anemailaddressorsubject,thebar-
codedata,oraJSONstringthatiswrittentotheattributeofanHTMLelement.
Options
FortheoptionsinConditionalScriptwizardssee"ConditionalContentscriptdialog"onpage482.
InotherScriptwizards,thefollowingoptionsareavailable.
l
Name:Thenameofthescript,makingiteasiertoidentifyit.
l
Selector/Find text:TheSelectororTexttoapplytheresultofthescriptto.
l
Selector:UsesCSSselectorstofindtheelementtowhichthescriptapplies
l
Text:Usestextasatriggerforthescript.Thescriptappliestoallinstancesofthetext
foundinthetemplate.
l
Selector and Text:Usestextasatriggerforthescriptbutonlyappliestotextwithinthe
specifiedSelector.
Note: Emailscriptwizardsdon'thavetheSelectororFindtextoption.Insteadtheyselect
theheaderofthespecifiedSection(thecurrentone,bydefault)orAll email sections.
NotethattheSectionnameiscase-sensitive.Toseetheactual(HTML)selectorthatan
emailscriptusestoselectasection,youcanclicktheExpandbutton.
l
Wizard Results:Displaysalistofthedatathatreplacesthecontentthatmatchesthescript's
selector:
l
Prefix:Statictexttousebeforethesetfield.ForexampleinDynamicImagescripts,the
defaultprefixisimages/.
l
Field:Adrop-downtoselectwhichfieldcontentstouseinthescript.Thefieldshouldcon-
tainavalidvalue.Foranemailscript,forexample,thefieldwouldhavetocontainanemail
address.
l
Format:AspecialformattingmodifierappliedtotheField;see"Formattingvariabledata"
onpage317.
Page 478