The moose likes Spring and the fly likes Client Side Validations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Client Side Validations" Watch "Client Side Validations" New topic

Client Side Validations

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
How can client side validations be done in Spring? I dont want the control to hit the controller and the validators getting called. I want something like a JS validation thats done upfront. Please help.

Sean Clark

Joined: Jul 15, 2009
Posts: 377


You would have to use Javascript to perform any client side validation, however you cannot rely JUST on this as JavaScript can be easily turned off.


I love this place!
subject: Client Side Validations
Similar Threads
validating dynamic forms
struts and jsf
server side validations
How to read the javascript related values into the html page
struts validator. stoping on first validation error.