----- Original Message ----- From: "Bryan Stevenson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 7:46 AM Subject: Re: CFForm madness. 0_0
> Personally the #1 reason I hate CFFORM is the "one error at a time" > functionality......10 fields....all required..none filled in....form > submitted....tells user about field 1....user submits...tells user about > field 2....submits form...tells user about field 3.....and so on.....If I > were that user I'd freak right out ;-) well, most people know i'm NOT an advocate of CFFORM, but what you're describing isn't necessarily an issue with CFFORM, but an issue with client side validation itself. I know other people who subscribe to your 'one error at a time' theory. I don't disagree with it...but I feel that if there are 10 (required) fields...and the user enters none...well what are the odds that the user isn't going to fill out a single field? IMO, good design would dictate that you mark certain fields as required. This would significantly cut down on the likelihood of the user having to deal with 10 javascript alerts, one at a time :) > I've always done server-side validation even though there is an extra trip > to the server.....I inevitably have to run a query to check for duplicate > records or something else that HAS to happen server -side.....so why create > a hybrid of client/server-side when I know that 80 plus% of the time there > will be at least 1 thing per form to validate server-side....just always do > it the samw way and life is good and code is reusable ;-) I advocate server side validation as well. On the off chance that the user doesn't have js enabled...or I screw up my js and the validation function doesn't fire...well, it will never hurt to have validation on the server as well. Even if i'm creating a hybrid of client/server-side...it's worth it (IMO, of course), as the client-side is a courtesy to the user (so he or she doesn't have to wait for the round trip to the server and back), while the server-side is there to insure the integrity of my data. charlie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

