I have tried both ways on several of my projects and saw no load time difference at all between the two. Perhaps it could be measured and there actually is, but the eye could not tell, not mine or the clients. I have also found that by using the API I end up using a lot of tat "code I don't need" and making the page more user friendly. To each their own I suppose.
Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion"> On Fri, 9 Nov 2001, BILLY CRAVENS wrote: > Scripts are cool, but I personally like to keep things as tight and fast as > possible - so I either write from scratch or copy and paste the code I need, > rather than including a big library that has a lot of code I don't need. > > > > ----- Original Message ----- > From: "Aaron Rouse" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, November 09, 2001 7:20 AM > Subject: Re: Javascript Vs. CF Form Validation > > > > I kind of see that as reinventing the wheel, when there are plenty of > > JavaScript's out there that can do validation for you. Not saying I have > > avoided learning JavaScript or that I use CFForm to do it. However with > > things like qForms from www.pengoworks.com out there, personally I wish I > > had started to learn their API long ago and applying it over being thick > > headed and making my scripts from scratch. > > > > Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion"> > > > > On Thu, 8 Nov 2001, Mookie Bear wrote: > > > > > These are just my thoughts on the subject... > > > > > > Using CFFORM to validate your forms is the lazy/quick way to go. If you > > > haven't started, I recommend that most people learn javascript and build > a > > > javascript template that validates a lot of things, such as emails, > numbers, > > > names, conditional stuff, and pretty much anything you want. Then if > you > > > want a form on your page validated just write a one liner to pass that > form > > > value to the javascript template you built and have it validated. You > can > > > use this tmeplate for all of your projects! I found it very helpful! > > > CFFORM is an excuse not to learn javascript! In fact, I bet some of you > > > would rather write lines and lines of CF server side code to validate > > > something and then locate them to a new page based on conditions, rather > > > than learn javascript and have it do the validation right on the spot! > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

