Hi Asterios,

Please see the following links:

http://lists.canoo.com/mailman/private/ulc-developer/2004/001037.html

http://ulc-community.canoo.com/snipsnap/space/Validation+Components

Hope this helps.

Thanks and regards,

Janak

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Asterios Kontonikos
Sent: Thursday, February 01, 2007 6:28 PM
To: [email protected]
Subject: [ULC-developer] Using DateFields




Hello,
i want to use datefields with several input (formats) e.g.:
ddMMyyy
dd.MM.yy
ddMMyyy
dd.MM.yyy
At FocusLost the datefield should be formatted with dd.MM.yyyy
or by an incorrect input should appear an Error Message.
At FocusEnter the datefield should be formatted with dd.MM.yyyy (valid
input)
or the incorrect value appear.
In the first step i use DateDataType to format and validate
ULCTextFields with format pattern dd.MM.yyyy.
It works fine until i enter a valid Date with this format.
I get field Value Null when we enter an incorrect Date
but not a Message about it. I try to check the FieldValue by
FocusLost ourselves but we get NULL at an incorrect Date.
In the second step i use convertToObject (UIDateDataType) to get the
entered value for validation and formatting. The convertToObject Method
fires on each Keystroke.
Here i can format the entered Value with dd.MM.yyyy but itŽs much complex.
When the field gots the focus the value isnŽt formatted and appears so
inputted.
I search for a method to format and validate
an datefield on the FocusLost Event with the possibility to set the value.
I have seen your Examples in the ULC Developers List at these subject but
canŽt
got the right idea.
Thanks





Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to