Ajas,
This is my unconfirmed assertion.  You have a validator type of type "date",
which returns a string expression of a date object notation.  My assertion
is that the validator type that you use will give you the data type on the
submission in its expressed format.

I changed your code to validate using a regular expression and I received
the original data text as regular expression are strings and do not have an
alternate expression of their data type.

The regex that I used, which may not be eprfect is:

(0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d

Teddy

Reply via email to