2022.2

Table Of Contents
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.Notethatyoucan'tselectafieldthatbelongstoadetailtable.
l
Format:AspecialformattingmodifierappliedtotheField;see"Formattingvariabledata"
onpage732.
l
Suffix:Statictexttouseafterthesetfield.ForDynamicImageScripts,thedefaultsuffixis
.jpgandreferstothefileextension.
l
[+]:AddsanewlinetotheWizardResults.Notethatbydefaultthereisnolinereturnbetween
fieldsinthelist.Adding<br>intheSuffixorPrefixfieldcanestablishalinereturn.
l
[-]:RemovesthecurrentlyselectedlineintheWizardResultslist.
l
Arrow Up:Movesthecurrentlyselectedlineuponeposition.
l
Arrow Down:Movesthecurrentlyselectedlinedownoneposition.
l
Refresh Types:Updatesfieldtypestomatchthetypesintheactivedatamodel.
l
Options(onlyavailableintheTextScriptwizardandtheDynamicImagewizard):specifies
whereandhowthescriptinsertsitsresults:
l
AsHTML.HTMLelementsintheresultsareprocessedanddisplayedasHTMLelements.
Forinstance,<b>this is bold</b>willbedisplayedasthis is bold.Thisisthe
defaultsetting.
Page 926