Carry Out an Action When a Board is Saved
The following code is an example of a script to carry out an action when a board record is saved in WebEOC Nexus.
Copy Code
<script type="text/javascript">
function runWhenSubmitted() <--Give this a meaningful name
{
[Do whatever processing you want here]
return;
}
function SetSubmitHandler()
{
document.forms[0].onsubmit = runWhenSubmitted;
}
window.onload = SetSubmitHandler;
</script>