oyu stll no wut he ment... ;)
________________________________ From: Dean H. Saxe <[email protected]> To: [email protected] Sent: Thursday, February 12, 2009 10:41:36 AM Subject: Re: [ACFUG Discuss] weird cfinput vs input stuff. date is shown as {d '2009-02-12'} vs 02/12/2009 Please tell me you mistyped perfect on purpose. Please. -dhs Dean H. Saxe, CISSP, CEH [email protected] "I have always strenuously supported the right of every man to his own opinion, however different that opinion might be to mine. He who denies another this right makes a slave of himself to his present opinion, because he precludes himself the right of changing it." -- Thomas Paine, 1783 On Feb 12, 2009, at 10:23 AM, Teddy R. Payne wrote: > 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 ------------------------------------------------------------- To unsubscribe from this list, manage your profile @http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
