You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kamholz, Keith (corp-staff) USX" <kk...@moog.com> on 2003/07/31 17:01:43 UTC

validwhen Alternative

Hey everyone,
>From what I hear, it seems like the validwhen validation is not supported in
the final release of Struts 1.1.  Is there an alternative to this?

I have a form where 2 of the fields are start range and end range.  I want a
validation that does the following:
1) If start range is filled in, and end range isn't, validation is
successful.
2) If start range is less than or equal to the end range (and end range is
greater than or equal to start range), validation is successful.
3) Start range must be filled in.

Do I need a custom validator for this, or can I get away with the existing
validations?  Any help with this would be greatly appreciated, thanks!


- Keith


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org