##local.define(Section)ChangePin ##local.define(Header) ##include(Header) ##local.define(addTimeOut)1 ##local.define(Title) ##leg.ZONESOPAC.ChangePin.Title ##local.define(PageTitle) ##leg.Expand(ZONESOPAC.ChangePin.Title) ##helpcontext.addHelp(ChangePin) ##helpcontext.addHelp(Toolbar) ##local.defineByRender(TOOLBAR_URL_BACK)APS_ZONES?fn=MyZone&##this.styleset ##local.define(Prompt) ##leg.ZONESOPAC.ChangePin.Prompt ##if error.Level ##if error.IsEqual(ID,"Invalid password") ##local.define(HandledError)1 ##else ##if value.NewPinEmpty ##local.define(HandledError)1 ##else ##if value.NewPinDifferent ##local.define(HandledError)1 ##else ##if value.NewPinWrongLength ##local.define(HandledError)1 ##else ##if value.NewPinSame ##local.define(HandledError)1 ##endif ##endif ##endif ##endif ##endif ##endif ##local.define(Advice) ##if error.Level ##if error.IsEqual(ID,"Invalid password") ##leg.ZONESOPAC.ChangePin.NoAuthorisation ##else ##if value.NewPinEmpty ##leg.ZONESOPAC.ChangePin.NewPinEmpty ##else ##if value.NewPinDifferent ##leg.ZONESOPAC.ChangePin.NewPinDifferent ##else ##if value.NewPinWrongLength ##if sessioncfg.IsEqual(ZONES.Login.SecurityCode.MinimumLength,##sessioncfg.ZONES.Login.SecurityCode.MaximumLength) ##leg.Expand(ZONESOPAC.ChangePin.NewPinWrongLength, MinLen, ##sessioncfg.ZONES.Login.SecurityCode.MinimumLength) ##else ##leg.Expand(ZONESOPAC.ChangePin.NewPinWrongLengthRange, MinLen, ##sessioncfg.ZONES.Login.SecurityCode.MinimumLength, MaxLen, ##sessioncfg.ZONES.Login.SecurityCode.MaximumLength) ##endif ##else ##if value.NewPinSame ##leg.ZONESOPAC.ChangePin.NewPinSame ##endif ##endif ##endif ##endif ##endif ##else ##if value.PinHasChanged ##leg.ZONESOPAC.ChangePin.DonePromptSmall ##else ##if value.BRWR ##leg.ZONESOPAC.ChangePin.Instructions ##else ##leg.ZONESOPAC.ChangePin.InstructionsAll ##endif ##endif ##endif ##local.define(ContentPanelTabs) ##local.MyZoneContentPanelTabs ##local.define(Content) ##local.define(ConfirmErrorContent) ##local.define(MaxPasswordLengthErrorContent) ##local.define(MinPasswordLengthErrorContent) ##local.define(List) ##if value.PinHasChanged ##leg.ZONESOPAC.ChangePin.DonePrompt ##else ##local.define(FormFields) ##local.define(FormBorrowerDefault) ##if local.FormError ##local.define(mainclass)generic-form-error ##local.define(textclass)generic-form-text-error ##else ##local.define(mainclass)generic-form ##local.define(textclass)generic-form-text ##endif ##endif
##this.stylesetforform ##local.FormFields ##if value.BRWR ##else ##endif
  ##leg.ZONESOPAC.Forms.Login.YourCardNumber  
  ##leg.ZONESOPAC.Forms.Login.YourPIN  
  ##leg.ZONESOPAC.ChangePin.NewPin  
  ##leg.ZONESOPAC.ChangePin.ConfirmPin  
  ##local.ConfirmErrorContent ##local.MaxPasswordLengthErrorContent ##local.MinPasswordLengthErrorContent
  ##local.Define(CommandButtonText)##leg.ZONESOPAC.ChangePin.Button ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.ChangePin.ButtonTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.ChangePin.ButtonALT ##local.SubmitButtonFMT
##local.define(BottomButtons) ##local.List
##include(Layout)
##include(Body)