Ummm ... how about IsDate() ?  :)

<CFIF IsDate(Form.fieldname)>
  <!--- ... --->
<CFELSE>
  <CFOUTPUT>Loser!  I said Date!</CFOUTPUT>
</CFIF>

-Rick

-----Original Message-----
From: Ken Goldstraw [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 6:08 PM
To: '[EMAIL PROTECTED]'
Subject: Date validation


Hello fine folks,

I was just wondering what everyone used for validating a date filed?  I've
seen a few JavaScript's around but I want to handle things on the server
side.

TIA!

-Ken
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to