Hi, this works fine for me (in validation.xml file). I see no problem with using datePattern...
<field property="dateTo" depends="required,date"> <arg0 key="zsc.dateTo"/> <var> <var-name>datePattern</var-name> <var-value>dd.MM.yyyy</var-value> </var> </field> Radek > -----Original Message----- > From: Manisha Sathe [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 05, 2005 9:23 AM > To: user@struts.apache.org > Subject: Date validation another question > > > Currently testing text box i/p for date. I do not want to > make use of "datePatternStrict" so i used "datePattern" but > still it is validating as per "datePatternStrict" only. It is > not accepting 1/1/2005 as i/p > > Do i need to set anything else too ? > > > > > --------------------------------- > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. >