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:329118
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to