Hi,
I am just starting out with simple java code. I can get either function to work by themselves, but I can't get both to work together.
<script language="javascript">
function ValidateForm(theForm)
{
var agree=confirm("Is everything correct?");
if (agree) return(true);
return(false);
theForm.x_NM.value=theForm.x_NM.value.toUpperCase();
return(true);
}
</script>
Any ideas? Thanks in advance.
JC
I am just starting out with simple java code. I can get either function to work by themselves, but I can't get both to work together.
<script language="javascript">
function ValidateForm(theForm)
{
var agree=confirm("Is everything correct?");
if (agree) return(true);
return(false);
theForm.x_NM.value=theForm.x_NM.value.toUpperCase();
return(true);
}
</script>
Any ideas? Thanks in advance.
JC