O'Reilly logo

Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Client-Side Input Validation

Client-Side Input Validation

When you apply client-side validation, you ensure that the values of form elements are valid before the form is submitted. From the server’s perspective, this means reduced workload because it does not have to return the user to the form to correct a value. For users, this means a much faster response because they get an instant warning when a form entry is not correct.

When you use client-side validation, be aware that some users have their JavaScript capability turned off, and some clever people can bypass your client-side validation entirely. Normally you need to perform server-side input validation to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required