File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Javascript Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Javascript Validation" Watch "Javascript Validation" New topic
Author

Javascript Validation

Chase Bonham
Ranch Hand

Joined: Jul 15, 2006
Posts: 50
Is it possible to bundle all Javascript errors from across all validators (required, mask, maxlength) into a single Javascript alert box.

I know Struts bundles all field errors for a given validator (i.e show all required fields together, show all max length fields together). I don't know
if you can bundle all those together

I'm using Struts 1.2.4.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Javascript Validation
 
Similar Threads
validating data in client side in a web application
How to reset s:select
Show errors next to fields
delayed validation
Validation in Struts