Jasper, Thank you for your response. I'm not sure you understand my issue, though. Either that, or I didn't understand your response, which is quite likely, as I'm no old pro at this validation stuff.
The form has working validation on all the fields that require validation, using the validation framework. Let's say the form has 10 fields and 7 of them need validated for whatever reason. There's also two buttons on the form: ButtonA and ButtonB. ButtonA submits the form to our backend system. When ButtonA is hit, the 7 fields are validated and everything is working perfectly. ButtonB does NOT submit the form, it just does a simple calculation. However, because it needs to use 2 of the fields in order to do that calculation, it needs to validate those two fields (that are part of the 7). Because it does NOT need to validate the other 5 fields, I can't do validation on the whole form (or at least, don't want to). I know I can programmatically do validation on the 2 fields, but that means I have validation in two separate places - one in my validation framework, and one in my code. For instance, one of the fields is an integer that can't be higher than 5. What if that changes to 10 one day? I have to change it in two places, and I don't want to do that. Is it possible for me to make it use the validation I have set up in the validation.xml file for only 2 of the 7 fields? -- View this message in context: http://www.nabble.com/Validate-just-certain-fields-tf1850707.html#a5066921 Sent from the Struts - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]