Monday, May 02, 2005

Validation

There's an interesting article over at Juicy Studio on client-side form validation. It's the old Javascript validation stuff we've been doing for ages; with a new twist. I note there is still a lot of confusion; client-side validation is mostly a fast check for well-formedness, not actual validity. To check the latter usually requires a trip to the database.
Another point is that we can (and should) show validation failure as soon as possible; not wait until the user tries to submit the form. I've tested this with users and they seem to like it. I might just write a longer article on this subject.
Category: Programming,Javascript

0 Comments:

Post a Comment

<< Home