![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I would like to roll my own validation script in oop. I have read a few articles on it but I haven't found anything that works when the user leaves the field. Ergo -> onblur = my function() Before I begin this does anyone have any reservations on using onblur for form validation? I know that using onblur() has it's problems, In particular the user might skip one of the fields entirely. |
|
So I need to also check the entire form when the user clicks submit. I saw an example of all of this a year or so ago, but I didn't have to time to play with it. And I can't seem to find it. After the client side script runs I will also have a back up on the server side. Is running both a problem? Any advise or good links that you might have? Best practices etc... Thank You Kevin |
#3
| |||
| |||
|
|
I would like to roll my own validation script in oop. I have read a few articles on it but I haven't found anything that works when the user leaves the field. Ergo -> onblur = my function() Before I begin this does anyone have any reservations on using onblur for form validation? I know that using onblur() has it's problems, In particular the user might skip one of the fields entirely. So I need to also check the entire form when the user clicks submit. I saw an example of all of this a year or so ago, but I didn't have to time to play with it. And I can't seem to find it. After the client side script runs I will also have a back up on the server side. Is running both a problem? Any advise or good links that you might have? Best practices etc... Thank You Kevin |
![]() |
| Thread Tools | |
| Display Modes | |
| |