Got... Clever. I see exactly what you are getting at. The use of ajax for client side makes the validation run the exact same routines.
Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -----Original Message----- From: James Holmes [mailto:james.hol...@gmail.com] Sent: Friday, December 11, 2009 5:35 PM To: cf-talk Subject: Re: For consideration... The app can do both. The idea is to write one set of server-side validation routines in CF. The app then uses AJAX to check fields as the used fills them out, for the benefit of the user; it also checks them server side on submission to ensure data integrity and prevent circumvention of the validation routines. A framework to easily apply the validation at both ends would make it all a low maintenance thing - the validation need only be written once and can be maintained in one place. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/12/12 Mark Kruger <mkru...@cfwebtools.com>: > >You can't validate > using an ajax request and THEN submit the form values using a submit >request... You sumbit the form and then validate... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329120 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4