You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tony Pinter <an...@pfizer.com> on 2003/07/28 20:12:17 UTC

MaxLength requires Required Validator?

Hey all,

Whenever I try to use the maxlength validator on one of my form fields and
submit that field as empty or whitespace, I receive the "{0} is required"
ActionError message.  Is this behavior by design?  If not, am I missing
something stupid?  I was under the impression that if a field was submitted
empty, it wasn't even validated (unless you're using Required).

Thanks,
Tony




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