I have a task on the screen definition , for an attribute I have written a Validation Javascript. The script works fine and the user sees the message if there is a validation failure.
However if I need to log message to the server on validation failure how do I do that from the validation javascript.
I tried using :
...pout = Packages.java.lang.System.out;
......
else{ pout.println("Wrong value entered by the user"+userID);
errorMessage.reference='Wrong value chosen' + attributeValue;
return false;}
The statement "errorMessage.reference='Wrong value chosen' + attributeValue;" works great but the pout.println doesnt.
#Identity Manager