• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Form Validation

If you’ve ever really dealt with form validation in a serious manner, where a user’s input must be validated to the nth degree, you know that it can be a very daunting task. In critical situations, it was generally necessary to use round trips to the server in conjunction with client-side JavaScript as a preliminary check. In these situations, you needed to perform server-side validation because you couldn’t guarantee that an individual had a JavaScript-enabled browser. Even users who did have capable browser possibly could disable the JavaScript functionality.

But you would generally develop both strategies to save from making trips to the server if you could prevent them through client-side JavaScript. If you had many form elements, your validation code could run into hundreds of lines of code for both server-side and client-side validation.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint