Topic awaiting preservation: Validating a from error (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
posted 05-23-2003 02:28
Hi, guys. How are you? code: <html>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-23-2003 07:05
You've coded it so that the alert box will only pop up if one of the boxes contains a space (" "). If you submit the form with nothing at *all* (""), then there's no space, so the form is submitted. |
Paranoid (IV) Inmate From: Lebanon |
posted 05-23-2003 13:49
Hello, code: if (!theForm.first.value.length | | !theForm.last.value.length)
|
Paranoid (IV) Inmate From: NZ |
posted 05-23-2003 13:50
"" instead of " " |