<!--- ---------------------------------------------------------------- ---- File: FormErrors.cfc Author: Ben Nadel Desc: This component handles a form errors queue used when validating data send through a form submissions. Is is essentially a non-persisting message queue with a standard message queue interface. Sample Code: <!-- Create the CFC. --> <cfset FormErrors = CreateCFC("FormErrors").Init() /> <!-- Check a field. --> <cfif NOT Len(FORM.first_name)> <!-- Add an error message. --> <cfset FormErrors.Add("Please enter a first name") /> </cfif> <!-- Check for form errors. --> <cfif NOT FormErrors.Length()> .... </cfif> Update History: 11/14/2005 - Ben Nadel Form Errors has been completed. ----- ------------------------------------------------------------//// --->