Solaris 9 - TS 6.7.1 SP1
Okay here's one that has me scratching my head.
Based on the documentation (page 24 of FormAPI):
"Note that the onSaveValid event handler is not passed any arguments. As with the onSave event, the save terminates if the handler returns false."
Here is my DCT code:
IWEventRegistry.addFormHandler("onSaveValid",validateDCR);
function validateDCR () {
...validate code here... commented out right now
return false;
}
Based on the documentation, I would suspect that a "return" false would stop the Save process but instead, I am presented with a dialogue that asks me to name the file and choose a directory where to save it. If I changed the event to "onSave", the return false works.
Is this a bug or am I missing something?
Thanks!
/FF