Does anyone know how to return true or false when using the onSaveValid Handler with callServer?
Here is what I have:
function init
{
IWEventRegistry.addFormHandler("onSaveValid", checkWellFormed);
}
function checkWellFormed
{
.
.
.
IWDatacapture.callServer("
http://192.168.193.183/iw-bin/checkWellFormed.ipl", parameters, false);
}
The problem is that I need function checkWellFormed to return true, otherwise the rest of the Save Events will not take place and my DCR will not be saved.
Is there a way in my ipl file to return true or false to the calling javascript function checkWellFormed?
Any feedback is much appreciated