are you doing your validations in JavaScript (<html:javascript formName=myForm />) or are you doing it on the server with Java (myForm::validate())?
I use both, and when I submit and process my validation, all errors are added to the request and are passed back to the JSP. -Devin -----Original Message----- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 3:33 PM To: Struts List Subject: concern over validation results Sorry to repeat this question, possibly someone can help out... Is there any way I could use the validation package to not only just return errors where a required form field is missing but also on the FIRST return also bring back validation of form fields that are designated as 'not required' but do need validation if they are entered? For example picture a simple case where "firstName" and "lastName" are required fields and "favoriteNumber" is not required but has integer validation. Now it seems that if a user were to forget to enter a lastName and also entered in an invalid number, the only thing returned at first would be "FirstName is required." It wouldn't be until they submitted again, after entering a firstName, that you would get the error returned about an invalid number entered for favorite number. Is there any way to have it also validate the favoriteNumber field (if one is entered) at the same time it is looking at the required fields? Thanks for any info. -- Rick mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

