aspose file tools*
The moose likes Struts and the fly likes Regarding Form Validation using Validator plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding Form Validation using Validator plugin" Watch "Regarding Form Validation using Validator plugin" New topic
Author

Regarding Form Validation using Validator plugin

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
Iam using Validator plugin for validating the form details.
Here what i have observed is, it will validate all the fields and displays the result.

1.what is need is, if the first field validation fails, then further validation has to be skipped and control has to be moved to respective page

Please let me know how this can be done...

2.Here the validation is done on server side, Can any one tell me how to perform validations on the client side?

thanks in advance.


Abhishek
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

i think you must to use any programming language, which "independen" and can run in client side such as Javascript...

if you just need a simple validation..
i think Javascript is enough for simple client side validation..

CMIIW.

Regards,
W
(Sorry my English isn't too good)

Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
thanks for the reply.....
what about my first question?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The validator docs discuss both of these issues, I think.
 
 
subject: Regarding Form Validation using Validator plugin