Topic awaiting preservation: special characters |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Israel |
posted 11-26-2002 07:32
Hi. |
Paranoid (IV) Inmate From: Where I'm from isn't where I'm at! |
posted 11-26-2002 14:48
Try here: Form Validation Links |
Bipolar (III) Inmate From: Israel |
posted 11-26-2002 17:31
I'm not talking about form validation and not about validate the text after the onChange event occurred, I am talking about online validation. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-26-2002 17:43
And... how exactly do you define "online validation?" |
Bipolar (III) Inmate From: Israel |
posted 11-26-2002 17:49
onkeydown, onkeyup |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-26-2002 18:32
jeez that's interesting code: document.onkeypress=checkinput;
|
Bipolar (III) Inmate From: Israel |
posted 11-26-2002 18:46
It looks nice. |
Paranoid (IV) Inmate From: Milwaukee |
posted 11-26-2002 19:17
You should still validate the input on the server side, just in case your user has Javascript turned off, or is using a Javascript-inept browser. It's like wearing a belt when you've already got suspenders: if your suspenders break, you've still got a safety buffer between your unit and the cold harsh world. |
Bipolar (III) Inmate From: Israel |
posted 11-27-2002 10:12
I wanted it to be first validation layer, the second layer will be on submit and the third one will be server side validation. |