Thank you guys. That was really helpful.
<Ajas Mohammed /> http://ajashadi.blogspot.com We cannot become what we need to be, remaining what we are. No matter what, find a way. Because thats what winners do. You can't improve what you don't measure. Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives. On Thu, Feb 12, 2009 at 11:08 AM, Dean H. Saxe <[email protected]>wrote: > Plus its a completely useless client side check which needs to be repeated > server-side as well if you want any assurance that validation was > successful. > > -dhs > > > Dean H. Saxe, CISSP, CEH > [email protected] > "If liberty means anything at all, it means the right to tell people what > they do not want to hear." > -- George Orwell, 1945 > > > > > On Feb 12, 2009, at 10:50 AM, Dawn Hoagland wrote: > > As a matter of habit, I do not use the cfinput tags for validation however >> the few times I've reviewed or modified code from other developers who >> validate dates this way, this is the behavior I have seen. >> >> In general, when I'm checking the date on the submit, I format it >> anyway..... >> >> On Thu, Feb 12, 2009 at 10:22 AM, Ajas Mohammed <[email protected]> >> wrote: >> Thanks, >> >> Yes, but the big question is why cffrom cfinput would send date in that >> format. Its not the first time I have i used cfinput. Date usually comes >> across in standard date format. >> >> Anyone??? >> >> <Ajas Mohammed /> >> http://ajashadi.blogspot.com >> We cannot become what we need to be, remaining what we are. >> No matter what, find a way. Because thats what winners do. >> You can't improve what you don't measure. >> Quality is never an accident; it is always the result of high intention, >> sincere effort, intelligent direction and skillful execution; it represents >> the wise choice of many alternatives. >> >> >> On Thu, Feb 12, 2009 at 10:15 AM, Dawn Hoagland <[email protected]> >> wrote: >> Do a dateformat(formfield,'mm/dd/yyyy') before using the data from the >> form. >> >> >> On Thu, Feb 12, 2009 at 9:41 AM, Ajas Mohammed <[email protected]> >> wrote: >> Hi, >> >> I noticed this in my form submission and dont know why cfinput with >> validation would show date as {d '2009-02-12'} whereas regular input would >> show same value as 02/12/2009 . See code below : >> >> <cfloop from="1" to="10" index="thisrow"> >> >> <cfinput type="text" name="absence_date#thisrow#" size="10" value="" >> validate="date" validateat="onBlur,onSubmit,onServer" message="You have >> entered an invalid date. Date's should be in this format MM/DD/YYYY or >> MM-DD-YYYY."> >> >> <input type="text" name="absence_date_txtbox_#thisrow#" size="10" >> value=""> >> >> </cfloop> >> >> so in this form, i entered 02/12/2009 in both the textboxes and i get >> weird output. >> >> Any ideas??? I am I missing something obvious here??? >> >> >> <Ajas Mohammed /> >> http://ajashadi.blogspot.com >> We cannot become what we need to be, remaining what we are. >> No matter what, find a way. Because thats what winners do. >> You can't improve what you don't measure. >> Quality is never an accident; it is always the result of high intention, >> sincere effort, intelligent direction and skillful execution; it represents >> the wise choice of many alternatives. >> >> >> >> > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- > > > >
