cancel
Showing results for 
Search instead for 
Did you mean: 

The message for wrong input for a Date - "25/11/1987

Former Member
0 Kudos

Hi ,

When an incorrect input is set to a Date controller - the following message reaceived:

"please .... 25/11/1987"

Is there a way to change Can the hard coded date "25/11/1987"?

e.g. dd/mm/yyyy

Thanks a lot.

Regards,

Shimon.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,You can create a simple data type and in the format section you can mention the type of the format you reqire

Regards

Padma N

nikhil_bose
Active Contributor
0 Kudos

you can have simple type with basic type date and there you can specify the format, if you want it as a client side validation.

or

you can use [java.text.SimpleDateFormat|http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html] for displaying it.

nikhiL

Former Member
0 Kudos

Hi Shimon,

These are the default validations performed by the framework itself and you cannot change these messages. This is the way it works.

Hope it helps.

Cheers,

Manoj

Edited by: Manoj on Nov 5, 2008 2:58 PM