2022.2

Table Of Contents
l
Name:Thenameofthescript,makingiteasiertoidentifyit.
l
Selector:TheSelectororTexttoapplytheresultofthescriptto.
l
Selector:UsesCSSselectorstofindtheelementtowhichthescriptapplies.
l
Text:Usestextasatriggerforthescript.Thescriptappliestoallinstancesofthetext
foundinthetemplate.
l
Selector and Text:Usesthespecifiedselectorasatriggerforthescript.Thescript
appliestoallinstancesofthetextfoundwithinthespecifiedSelector.
FormoreinformationaboutSelectorssee"SelectorsinOLConnect"onpage385.
l
Action:Usethedrop-downtoselectwhethertoShoworHidetheelementwhenthecondition
belowistrue.If,conversely,theconditionevaluatestofalse,theoppositeactionwillbeper-
formed.
Aconditionismadeupofgroupsandrules.
The Addbuttonaddsarulethatevaluatesadata fieldtoagroup.
Toaddeitheragroup,orarulethatevaluatesaruntime parameter,clickthedownwardpointing
arrownexttothisbuttonandselectGrouporParameter Rule.
l
Group:
Agroupconsistsofoneormoreruleswithalogicoperator.Fourlogicchoicesareavailableatthe
Grouplevel.Theseare:
l
All of the following.
Thisequatestothelogicaloperator(...AND...).
Ifalloftheassociatedcriteriaaremet,thenthisgroupresolvestoTRUE.
l
Any of the following.
Thisequatestothelogicaloperator(...OR...).
Ifanyoftheassociatedcriteriaaremet,thenthisgroupresolvestoTRUE.
l
Not all of the following.
Thisequatestothelogicaloperator(NOT(...AND...)).
Ifany (but not all)oftheassociatedcriteriaaremet,thenthisgroupresolvestoTRUE.
l
Not any of the following.
Thisequatestothelogicaloperator(NOT(...OR...)).
Ifnoneoftheassociatedcriteriaaremet,thenthisgroupresolvestoTRUE.
l
Rule:
l
Data Field/Parameter:Usethedrop-downtoselectwhichdatafieldintherecord,or
whichruntimeparameterinthetemplate,theconditionwillbebasedupon.(SeeRuntime
Page 482