Home



Code Samples

The following code samples are now available for your perusal. Each sample includes demo pages showing the code in action, a page giving explanations about the essential parts of the code and highlighting any changes that may be needed between versions, and a downloadable zip file with the code sample's file(s).

Data Validation with ColdFusion
How to use browser-based, embedded, and server-based ColdFusion validation methods. Includes phonemat and validEMail custom tags!
Forms, Part 1
Shows how to use ColdFusion to email the contents of a simple form to a specified receipient. Demonstrates the IsDefined function and the CFMAIL, CFIF, CFELSE, and CFLOCATION tags.
Forms, Part 2
Take the contents of a simple form, validate the input, entering the input into a database, and return the results. Demonstrates the CFABORT, CFELSEIF, CFQUERY, CFOUTPUT, CFINPUT, CFSET, and CFFORM tags along with Len, DateAdd, and DateFormat functions.

This site was created and is managed by Summer S. Wilson of the AIT department at Texas A&M AgriLife.