2022.2

Table Of Contents
Note: Post Pagination ScriptsrunonlywhenaPrintsectionispreviewedoroutputted.
ToverifytheresultsofPostPaginationScriptsonacertainMaster Page,previewthePrintsec-
tiontowhichthatMasterPageisapplied.
Testingforerrors
Information in the Scripts pane
OnewaytoseewhetherascriptisfunctionalistotakealookattheScriptspane.
Tip: HoveroverthenameofascriptintheScriptspanetohighlightpartsofthetemplatethatare
affectedbythescript.
IconsonthenameofscriptsintheScriptspanecanshowthatthereisawarning,informationorerror.
Ifoneoftheseiconsappears,youcanhoveroverittoseemoredetails.
l
Theinformationicon (i)showsthattheselectorofthescriptdoesnotproducearesultinthe
currentsection.Notethatstandardscriptsandpostpaginationscriptsarenotexecutediftheir
selectordoesnotmatchanyelements.Acontrolscriptisalwaysexecuted,assumingthescriptis
enabled.
l
Thewarningicon (!)appears,forexample,whenascriptreferstoanunknownfieldinthe
recordset,orwhen;ismissingafterastatement.
l
Theerroricon (x)displayswhenthescriptresultsinanerror,forexample,whenitusesan
undeclaredvariable.
Ifanexpandedscriptcontainserrorsoriftherearewarnings,iconsappearintheoverviewruleronthe
righthandsideoftheeditingarea.Theseiconsareshownrelativetotheirpositioninthescriptanddo
notmoveasyouscrolldown.Youcanclickonanicontoquicklyjumptotheerrororwarning.Script
errorsarehighlightedbyaredicon,andwarningsinyellow.Thetopmosticonwilldisplayredifany
errorsexistinthescriptatall.
Tip: Todoaquicksearchforacertainscriptorpieceofcode,typeasearchtextinthefilterfield
locatedbelowthebuttonsintheScriptspane.
Page 377