...
Code Block |
---|
function fieldsOnDelete(){ return "MEFIELDNAME"; } function onDelete(field1){ if( field1 == 'field value'){ window.location = "MELT://showAlert:/Message to display"; return false; }else{ return true; } } |
...
Code Block |
---|
<html><head><title>OnDeleteExample1</title> <script type="text/javascript"> function fieldsOnDelete(){ return "CUSTKW02"; } function onDelete(status){ if( status == 'Open'){ window.location = "MELT://showAlert:/You cannot delete open Activities"; return false; }else{ return true; } } </script></head><body></Body></html> |
...
Code Block |
---|
{window.location = "MELT://showAlert:/You cannot delete open Activities"; return false;} |
...