Search

1/02/2008

JavaScript: It's Just Not Validation!

JavaScript: It's Just Not Validation! [JavaScript & AJAX Tutorials]

The term "JavaScript validation" is a somewhat misleading one for describing the process of assisting the users to fill forms out correctly. In fact, the back-end code performs the validation -- JavaScript merely provides assistance. But when the validation and assistance don't come from the same source, they do nothing but confuse people.
Strictly speaking JavaScript validation isn't validation -- it's input assistance. Anyone can bypass JavaScript; it's an aid, not a gate. It simply helps to give your users the confidence to hit that big submit button.
Finally, back-end validation is required. JavaScript assistance is nice.

沒有留言: