Since the system throws the error on save you can try something like:   

Set an integer field equal to the date field.  If you get a number of 0
then either they entered January 1 1970 at Midnight (unlikely) or it is
not a valild date.

You could do this on Lose focus of the date field or some other action
before the save.

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of rg25
Sent: Wednesday, October 15, 2008 9:40 AM
To: [email protected]
Subject: Re: date format validation

Thanks for quickly response.

I want to catch wrong input before that the system will throw some
errors.
Is it possible?

Best regards
Vahagn

Grooms, Frederick W wrote:
> 
> If you are using a Date Only or Date/Time field it does not matter.
The
> Remedy user tool will convert it to it's internal number format and
make
> sure it is a valid date.
> 
> I can type in something like March 5, 2008 in a date field and the
User
> tool will convert it to 3/5/2008 (since I have it set to display the
> "Short" format for dates).  If I type in February 31, 2008 It tells me
> it is not a valid date.
> 
> Fred
> 
> 
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[EMAIL PROTECTED] On Behalf Of rg25
> Sent: Wednesday, October 15, 2008 8:14 AM
> To: [email protected]
> Subject: date format validation
> 
> Hi all,
> 
> I have a problem with date format checking. 
> It must match to a pattern.
> The pattern is "dd/mm/yyyy".
> The main problem is how validate a manual input of user in a date
field
> with
> the pattern.
> 
> Thanks in advance.
> 
> 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to