Re: date parsing/validation...newbie 23/Jan/2004 and 23/JAN/2004

2004-08-26 Thread O. Oke
Thanks for your advice, I will do as you suggested. I am confident that this will work. However, I am unable to test it straight away because I have just come accross another unrelated problem. Regards. Ola. --- Erik Weber <[EMAIL PROTECTED]> wrote: > Hmm, sorry, I don't use client-side f

Re: date parsing/validation...newbie 23/Jan/2004 and 23/JAN/2004

2004-08-26 Thread Erik Weber
Hmm, sorry, I don't use client-side form validation. For one, I found that the scripts generated by the Validator plugin measured 38K, which is ridiculous. This is my validation.xml config for a date field that I tried for you: datePatternStrict dd/MMM/ I tested it

Re: date parsing/validation...newbie 23/Jan/2004 and 23/JAN/2004

2004-08-26 Thread Research labs
Erik, I have just tried datePatternStrict; the client side validator now tells me that 23/Jan/2004 and 23/JAN/2004 are not dates. Thank you. Ola. --- Erik Weber <[EMAIL PROTECTED]> wrote: > Try "datePatternStrict" as the var-name instead of > "datePattern". > > Erik > > > Research labs

Re: date parsing/validation...newbie

2004-08-26 Thread Research labs
Thanks Erik, 'would do so. --- Erik Weber <[EMAIL PROTECTED]> wrote: > Try "datePatternStrict" as the var-name instead of > "datePattern". > > Erik > > > Research labs wrote: > > >Hi, > > > >Please help me. > > > >I am trying to force users to enter dates in the > >format 23/JAN/2003, ther

Re: date parsing/validation...newbie

2004-08-26 Thread Erik Weber
Try "datePatternStrict" as the var-name instead of "datePattern". Erik Research labs wrote: Hi, Please help me. I am trying to force users to enter dates in the format 23/JAN/2003, therefore, I have the setting below in the validator.xml. The maxlength bit works, but date parsing does not wor

RE: date parsing/validation...newbie

2004-08-26 Thread Jim Barrows
> -Original Message- > From: struts lover [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 12:49 PM > To: Struts Users Mailing List > Subject: Re: date parsing/validation...newbie > > > Hi, > I think it should be > > dd/MM/ > inste

Re: date parsing/validation...newbie

2004-08-26 Thread struts lover
Hi, I think it should be dd/MM/ instead of dd/MMM/ --- Research labs <[EMAIL PROTECTED]> wrote: > Hi, > > Please help me. > > I am trying to force users to enter dates in the > format 23/JAN/2003, therefore, I have the setting > below in the validator.xml. The maxlength bit > work

Re: date parsing/validation...newbie

2004-08-26 Thread Research labs
Hi, Please help me. I am trying to force users to enter dates in the format 23/JAN/2003, therefore, I have the setting below in the validator.xml. The maxlength bit works, but date parsing does not work, for example the validator does not complain if I enter an invalid date such as 23/JJJ/199