Maybe you could do your ActionForm and override validate method... This method could test if the validation is to be passed or not. If it is to do validation you can rely on validation.xml.
On Fri, 10 Sep 2004 13:43:03 -0500, Matt Bathje <[EMAIL PROTECTED]> wrote: > You could probably use requiredif or validwhen to do this, but I think > it would be extremely messy. I'm not aware of another built in validator > that could handle this situation. You will probalby have to make your > own unless somebody else has a better idea. > > Matt > > > > Caroline Jen wrote: > > I have used the validation.xml to validate some > > individual properties and been quite happy with the > > feature. > > > > Now, I have a form with five text fields. If any > > three out of those five fields are filled out, it > > passes the submit validation check. > > > > Is there any way to set 'required' for this kind of validation? > > > > > > > > _______________________________ > > Do you Yahoo!? > > Shop for Back-to-School deals on Yahoo! Shopping. > > http://shopping.yahoo.com/backtoschool > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]