| |
raynkel
Posts: 7
Score: 0
Joined: 8/27/2003
From:
Status: offline
|
Morning all. I wrote this small script to check if a value entered is a date: if (aForm.txtEND_DATE.value != "") { var Err = 0 var a = aForm.txtEND_DATE.Value if not isDate(a) { err=1 } } if (err==1) { alert("Please enter the End Date in 'mm/dd/yyyy' format"); return(false) } //else //return(true) should work, but it causes my whole function to be skipped, What am I missing? Thanks
|
|