![]() Topic awaiting preservation: special characters (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Israel |
![]() Hi. |
Paranoid (IV) Inmate From: Where I'm from isn't where I'm at! |
![]() Try here: Form Validation Links |
Bipolar (III) Inmate From: Israel |
![]() 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 |
![]() And... how exactly do you define "online validation?" |
Bipolar (III) Inmate From: Israel |
![]() onkeydown, onkeyup |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() jeez that's interesting code: document.onkeypress=checkinput;
|
Bipolar (III) Inmate From: Israel |
![]() It looks nice. |
Paranoid (IV) Inmate From: Milwaukee |
![]() 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 |
![]() I wanted it to be first validation layer, the second layer will be on submit and the third one will be server side validation. |