> > First, this has nothing to do with AJAX or server-side > > validation, really. Your options for notifying the user > > of an error are no different with AJAX than they would > > be with any sort of client-side validation. > > Disagree. Server-side validation, traditionally means to > send a form to cf server and have the cf server run some code > to check the data on a relational db or desktop db or > whatever data source, then if there's data problem, alert > user with cf type code. Here's the difference is to use ajax > do js call for a cfc that does the db side data check then do > alert or not. I don't enjoy writing this to refute you...
You may wish to reread my response - I mentioned client-side validation, not server-side validation. Your options for displaying error messages that result from AJAX calls are identical to the options for displaying error messages that result from client-side validation. In both cases, you're going to invoke JavaScript to perform some action that will validate your data, and you're going to receive a result that you will have to process within the browser using JavaScript. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305213 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

