Check out this ColdFusion Submit Form Validation article by Michael Evangelista on the CMX site.

This *free* CMX article shows you how to build a simple form that
submits itself and sends an email with ColdFusion
http://www.communitymx.com/abstract.cfm?cid=7F9DB