Validation Javascript not working
search cancel

Validation Javascript not working

book

Article ID: 112681

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction



Validation JavaScript is being ignored in new environment, code works fine in 12.6 but is being ignored in the 14.2 installation.

function validate(FieldContext, attributeValue, changedValue, errorMessage) 

Environment

Release:
Component: IDMGR

Resolution

14.x uses uses a new prototype and use screencontext. To fix the code you must use 

function validate(ScreenContext, errorMessage

"Validation JavaScript" regarding screenContext

Delete â€‹function validate(FieldContext, attributeValue, changedValue)  from the 12.6 JS code and use the following for 14.x:

function validate(ScreenContext, errorMessage)