TruthInSatire
Programmer
i have a field validation script in and onsubmit function. I return false and it still submits the form please help.
<script language = "javascript">
function chkOptions(){
rtn = true;
if (sOptions.sOver.checked && shipOptions.sOverAmount.value == ''){
alert('Over Amount Required');
sOptions.sOverAmount.focus();
rtn = false;
}
return rtn;
}
</script>
How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
<script language = "javascript">
function chkOptions(){
rtn = true;
if (sOptions.sOver.checked && shipOptions.sOverAmount.value == ''){
alert('Over Amount Required');
sOptions.sOverAmount.focus();
rtn = false;
}
return rtn;
}
</script>
How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.