Hello,
I am new to CA IDM and having some issues while validations against user attributes.
I have 2 attributes, viz. attribute1 and attribute2 which is being used in the Identify User Search Screen.
attribute3 is holding the value of the String sum of attribute1 and attribute2.
I need to create a validation javascript that would check if the value of attribute1 is present in attribute3 (as attribute3 is a sum of attribute1 and attribute2).
As per the CA Documentation, we should use the function validate(FieldContext, attributeValue, changedValue, errorMessage).
Can someone, please help in providing a sample javascript code for the same i.e. to validate if attribute1 is present in attribute3?
Thanks in advance,
BR
Sandipan