Looking At The Results Of Validation With The Errors Object

When the validate method is called on ASPForm class it resets the errors collection before it begins to validate the elements. The errors will remain in the error collection until validate is called again, this allows the error collection to be referenced by the programmer, for things such as notifying the user which elements are invalid.

When an error is identified, details are pulled out and placed into the error object before it is added to the errors collection. The details of the error describe all essential information for discerning how/why an error occurred. They are as follows :