Hi, I use Validator 1.0 and I would like to validate date fields with the format MM/dd/yy but it works only with the format: MM/dd/yyyy. In the validation.xml i use this:
<formset> <form name="entryPageForm"> <field property="reqinitialdate" depends="date"> <arg0 key="entryPageForm.reqinitialdate.displayname"/> <var> <var-name>datePatternStrict</var-name> <var-value>MM/dd/yy</var-value> </var> </field> So i changed the <var-value> to the format i need but it still doesn't work. What could be the problem? And what shall i do if i want to accept the both format? (MM/dd/yy and MM/dd/yyyy) Thanks -- View this message in context: http://www.nabble.com/Date-validation-tf2684724.html#a7488591 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]