I personally never use js for validation; I always do it server side. I make sure the database has its own validation checking (using constraints, etc) and I also check the submitted data with ColdFusion before sending it to the database.
Dominic 2008/6/27 Jerry Johnson <[EMAIL PROTECTED]>: > All of the above. > > The more user-friendly code and descriptions happen on the same page via js > checks. > The sql code typically throws a generic error. > > And the stuff in between is somewhere in the middle. > > On Fri, Jun 27, 2008 at 3:20 PM, Ian Rutherford < > [EMAIL PROTECTED]> wrote: > > > When you are writing your code, where do you handle error checking? > > > > Do you handle it with Javascript on the front end? With code before you > > hand the data to a CFC, in CFCs, in your T-SQL code? Or do you duplicate > the > > error checking at each step along the way? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308256 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

