You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "White, Joshua A (HTSC, CASD)" <Jo...@thehartford.com> on 2003/05/21 20:57:26 UTC

Date Validation Woes (Validator)

Hello all,

The validator lets the value "5/5/5" come through as a valid date.  I am
looking for a date in the mm/dd/yyyy format.  Is there a way for me to
specify this when using the validator?

Regards,

Joshua


This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


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


Re: Date Validation Woes (Validator)

Posted by Sergey Smirnov <si...@exadel.com>.
Joshua,

Probably, You use datePattern instead of datePatternStrict. If so, just
write datePatternStrict there.

Regards,
Sergey Smirnov
-----------------------------------------
Exadel Struts Studio - IDE for Struts
http://www.exadel.com/strutsStudio
-----------------------------------------

----- Original Message ----- 
From: "White, Joshua A (HTSC, CASD)" <Jo...@thehartford.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, May 21, 2003 11:57 AM
Subject: Date Validation Woes (Validator)


> Hello all,
>
> The validator lets the value "5/5/5" come through as a valid date.  I am
> looking for a date in the mm/dd/yyyy format.  Is there a way for me to
> specify this when using the validator?
>
> Regards,
>
> Joshua
>
>
> This communication, including attachments, is for the exclusive use of
> addressee and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, any use, copying,
> disclosure, dissemination or distribution is strictly prohibited. If
> you are not the intended recipient, please notify the sender
> immediately by return email and delete this communication and destroy all
copies.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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