[thelist] JS Date Issue

.jeff jeff at members.evolt.org
Mon Jun 25 23:12:21 CDT 2001


salvatore,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Salvatore Palmisano
:
: There has to be an easier way to validate
: dates in javascript.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

there isn't directly, unfortunately.

i'm experimenting with a regex function for validating dates, but it's not
100% yet.

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: All I need is something that'll force the
: field to have this format and reject
: everything else.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sometimes the simplest solutions escape us.  how about something like this:

http://members.evolt.org/jeff/code/days_in_month.cfm

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list